I'm using Emacs with lsp-mode and dap-mode. This is the template:
(dap-register-debug-template
"localhost:8000"
(list :type "java"
:request "attach"
:hostName "localhost"
:port 8000))
I started the app I want to debugg with remote debugging (it works if I user Eclipse as debugger). It waits for the connection:
Listening for transport dt_socket at address: 8000
When I use dap-debug and select the template, the new buffer stays black, and the app keeps waiting for connection.
I have also tried with the hostname, intead of localhost, but still not working. I'm using emacs 26 for windows.
I'm missing something??
There is an open issue indicating that dap-mode does not support attach
requests for debugging remote Python processes as of 2021-03-26.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.