

Maybe the other debugger was trying to run there? Figure with a fresh restart 5678 should work. Yes, its in the Debugging section of the properties page of the project. I changed the code in app_debug_vscode.py to use debugpy like this: """Use this module for development with VS Code and the integrated debugger"""įor more info see the Īlso I had to change the port to 5679 (here and on launch.json) because 5678 refused to work saying it was already in use. I did manage to get it to work by using debugpy in a similar way to what they do here :

I tried applying the solution for the integrated debugger on it only to find ptvsd is no longer supported: In the terminal it is working, but not in Visual Studio Code. select run»start debugging or press the f5 key to load and debug the file in visual studio code.

As Visual Studio Code is using PowerShell, let's execute the same file with the same argument: So: the same file, same path, and same argument. To debug with an external debugger, remove any comment characters from the line if dd.appenablescriptdebugger onwards: save the script. Hey you for this very useful discussion and article. But when I press on Debug, it says that my argument is not recognized and Visual Studio Code says: error: unrecognized arguments.
