Closed MattReimer closed 3 years ago
Hi,
Possibly, you saw the Plugin's Wiki[1] , where, show the dependencies, how "ptvsd" and the config file (launch.json).
Please, remove the "pathMappings" in yours launch.json.
My launch.json is: { "version": "0.2.0", "configurations": [ { "name": "Python: QGIS Debugger", "type": "python", "request": "attach", "host": "localhost", "port": 5678 }, ]
The steps: 1) Run Plugin in QGIS 2) Run "QGIS Debugger" in VSCODE If all is right, you can see the tools of debug in VSCODE.
I hope you can have success.
Worked Thank you!
Hey. This is a great little plugin but I can't get the breakpoints to fire for the life of me. Really hoping this is something simple.
Currently on Windows 10 and I'm executing VSCode using a batch file to set up the environment correctly:
I've got the debuger attaching ok and the DEBUG CONSOLE is showing my
print('hello world')
statements but my breakpoints don't trigger and they are greyed out.Here's my launch profile: