Debugpy path mapping problems #1013
-
Hello, first of all, I would like to thank you for this plugin. Finally being able to use Debugpy with PyCharm is a great relief, as I don't like the VSCode debugger very much. There is only one small problem, and it may be due to the path mapping. If I have a Python source file and a breakpoint is hit in this file, then a second tab opens with the same file, but as read-only. Is it possible for the debugger to stop in the actual source file so I don't always have to jump back and forth between tabs? My project is related to modding a game that uses Python in the modding interface. This modding framework also starts the debugpy server, which I then access via remote debug. Is that possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Thanks so much! If you like LSP4IJ DAP support, don't hesitate to add a review in the Jetbrains Marketplace to help us to promote LSP4IJ.
Have you the same problem with vscode?
|
Beta Was this translation helpful? Give feedback.
No it is different, it is just to provide the capability to add breakpoint to python file.
I suggest that you read doc of debugpy or doc of vscode with debugpy like https://code.visualstudio.com/docs/python/debugging#_remote-script-debugging-with-ssh
You will see that you can define a pathMappings.