svaante / dape

Debug Adapter Protocol for Emacs
GNU General Public License v3.0
455 stars 25 forks source link

Question about dape and Django debugging #62

Closed azegas closed 6 months ago

azegas commented 7 months ago

Hello!

I wonder if dape can be used to debug a django application? I have tried to do so with dap-mode, but so far unsuccessfully - https://github.com/emacs-lsp/dap-mode/issues/229#issuecomment-1922950292

Looking forward to hearing from you!

Will do anything to be able to debug Django in Emacs :)

Thank you!

svaante commented 7 months ago

Hey I seams that django debugging resurfeced an long running strugle between dape and DAP, but it seams to be working with the latest commit.

used the following input to dape debugpy :cwd "/home/user/django-dap-debug/" :program "mysite/manage.py" :args ["runserver"] with the last commit, so you need to install dape from repo and not from elpa.

svaante commented 6 months ago

As this question is answered and works on my machine I'll close this issue. Reopen if there is any additional questions regarding django debugging with dape.