You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To use debugpy in the terminal, you have to do three steps:
Prerequisite
{ "version": "0.2.0", "configurations": [ { "name": "Python Debugger: Remote Attach", "type": "debugpy", "request": "attach", "connect": { "host": "localhost", "port": 5678 }, "pathMappings": [ { "localRoot": "${workspaceFolder}", "remoteRoot": "." } ] } ] }Launch your job with debugpy server in the terminal.
Launch the debugger from 'Run and Debug' menu for the debugpy client
Is there a way to skip step 3? This is a much more streamlined approach when wanting to run pytest in the terminal (I don't like using the Testing UI)
Beta Was this translation helpful? Give feedback.
All reactions