Replies: 5 comments 7 replies
-
Could you explain me how you have tried to configure your dap server please. And give me detail how to install it, the download url |
Beta Was this translation helpful? Give feedback.
-
Thank you for your prompt response. |
Beta Was this translation helpful? Give feedback.
-
@falan stop trying, the DAP support from LSP4IJ cannot manage correctly attach request. Let me investigate the problem. |
Beta Was this translation helpful? Give feedback.
-
@falan good news I can debug Python with attach! I need to do some refactoring to support attach request. I will ping you when it will be available. |
Beta Was this translation helpful? Give feedback.
-
@falan I will push soon my work (I need just to clean some code and write doc) but according my test it seems it is working pretty well: I can debug py file and inline debug value should work: For the configuration, you must not fill some command, but just fill address and port: In this screenshot address is filled with $connect.address to retrieve the value from the JSON, but you can fill the real value if you wish. It is the same for port. Before debugging, you will need to open a terminal and start the debugpy And after that you can start the DAP configuration with attach and that's it! The debugpy DAP server supports completion it is super nice: I will try to pushmy work today once I will write documentation and you will able to test with https://github.com/redhat-developer/lsp4ij?tab=readme-ov-file#testing-nightly-builds |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Could you share an example of setting a DAP server in Python? I've experimented with several configurations using debugpy, but none have been successful. There is a bug in PyCharm's debugger that causes breakpoints to be ignored when using the built-in debugger. However, in VSCode, it successfully stops at breakpoints.
Beta Was this translation helpful? Give feedback.
All reactions