VS Code debug Attach using Process ID stopped working

598 views Asked by At

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.

1

There are 1 answers

0
Doug Jenkins On BEST ANSWER

The problem I was having has now fixed itself (since 18 Feb 2023) with the latest update to VS Code. The debug procedure for linking to a local process now works as before. The Version is 1.75.1; details below: enter image description here