VS Code debug Attach using Process ID stopped working
Question:
For some time I have been using VS Code to debug Python code connecting to Excel using pyxll. The procedure I have been using is:
Click the debug icon
Click "Run and Debug"
Select "Attach using Process ID Attach to a local process"
Select Excel from the list of processes displayed
Previously VS Code then connected to Excel and I could debug the associated Python code, but starting yesterday nothing happens after selecting Attach using Process ID Attach.
I have not changed any settings or installed new software (that I’m aware of) since the debug process was working.
I tried uninstalling and reinstalling VS Code but this made no difference.
Answers:
For some time I have been using VS Code to debug Python code connecting to Excel using pyxll. The procedure I have been using is:
Click the debug icon
Click "Run and Debug"
Select "Attach using Process ID Attach to a local process"
Select Excel from the list of processes displayed
Previously VS Code then connected to Excel and I could debug the associated Python code, but starting yesterday nothing happens after selecting Attach using Process ID Attach.
I have not changed any settings or installed new software (that I’m aware of) since the debug process was working.
I tried uninstalling and reinstalling VS Code but this made no difference.