Description
I am currently testing out dap-mode in a typescript nodejs environment. I manage to make it work with the following:
Have the server running with a dap socket open
Setting up a dap-debug-template accordingly
(dap-register-debug-template
"Test attach"
(list :name "Test attach"
:type "node"
:request "attach"
:port 9229))
Next step is placing a line break on this piece of code: (it's in green)
Finally running dap-debug gives sequentially
In this case I could select any of the 3 options, the debugger would attach successfully. I am just wondering if I am miscomprehending the prompt here or it just should not be here.
I though it would only be necessary if I had to specify from which file I would want to run the debugger but since here I am only attaching it makes me wonder.
Thanks for your work!
NB: I am new to emacs-lisp, if there would be any guidelines into how I should go myself in the code to understand how this works I would gladly do so.