Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug attach template still asking for a file to run #775

Open
jarodevs opened this issue Feb 13, 2024 · 0 comments
Open

Debug attach template still asking for a file to run #775

jarodevs opened this issue Feb 13, 2024 · 0 comments

Comments

@jarodevs
Copy link

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
image

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)
image

Finally running dap-debug gives sequentially

  1. Select template
    image
  2. Select file to run and here is my problem:
    image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant