Avatar

FreeAd7233B

FreeAd7233@alien.top
Joined
1 posts • 7 comments
Direct message

Yes, I also tried to use --pid to attach to a python process, and failed too.

permalink
report
parent
reply

Do you think if it is okay to open 2 emacs simultaneously (one with EXWM and one that runs within the EXWM)?

What I mean is that if it will bring a lot of headaches, say, key bindings conflicts?

permalink
report
parent
reply

I see, thanks for correcting me.

I see that this post https://github.com/Microsoft/vscode-python/issues/1078 suggested that debugpy can already attach to a local Python process.

permalink
report
parent
reply

I see, thanks for correcting me.

I see that this post https://github.com/Microsoft/vscode-python/issues/1078 suggested that debugpy can already attach to a local Python process.

permalink
report
parent
reply

I just tried the example configuration (for python) from github and the dap works perfectly fine to me, everything works as expected except the only one thing: post-run cleanup.

I do notice that there are some leak problems: the debugpy process will not exit even when the debug session terminated, keeping high CPU usage even after emacs exits.

It is a tricky problem and not easily reproduce, I will try to dive into this problem more to make it as reproducible as possible.

Besides, the go debugger (delve) works perfectly to me with the example configuration.

permalink
report
parent
reply

I believe this is out of the scope of the DAP protocol, I believe even VSCode cannot do it based on my understanding.

If you want to debug a running session, just use ipdb or pdb.

permalink
report
parent
reply

I am not the author of this plugin😂 just want to share this exciting news with Redditers

permalink
report
parent
reply