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
We didn't doc "code" properly yet, but microsoft/vscode-python#12500 mostly explains it. It's the equivalent of python -c ....
So it doesn't apply to your scenario. In general, we do need to control the command line passed to Python, so intermediate scripts like that aren't supported - unless they're themselves written in Python, and the code that you want to debug runs in that same process, or a child process that is started directly by Python code (i.e. no intermediate bash scripts there, either). I'm not familiar with gluesparksubmit, so I don't know if doing an equivalent in Python is possible.
Oh, and keep in mind that there's also the API to spin up the debug server - this is more ugly, since you need to explicitly call it from the code you're trying to debug. But the advantage is that it doesn't matter how that process is started - so long as you can invoke listen() before the code you want to debug is executed (in the same process), it should work.
Im trying to do something like
I see in file
debugpy/src/debugpy/server/cli.py
Line 320 in 4331cf5
The text was updated successfully, but these errors were encountered: