I'm running my Python program with -m pdb
to stop it execution at the start. In VSCode, I attach to that process using the following launch.json:
{
"name": "Python: Attach using Process Id",
"type": "python",
"request": "attach",
"processId": "${command:pickProcess}",
"logToFile": true,
}
but after attaching, I can't resume execution of the code, can't really do anything.
I've read that VSCode uses pydevd. Does that mean there is no way to use pdb in such case?
source https://stackoverflow.com/questions/75574385/vscode-attach-do-python-process-ran-with-m-pdb
Comments
Post a Comment