Skip to content

Command to run attach(). #386

Answered by mfussenegger
JoseConseco asked this question in Q&A
Discussion options

You must be logged in to vote

You could call dap.run() directly if you want to skip the configurations prompt. E.g. dap.run(dap.configurations[vim.bo.filetype][3]) if you know the configuration entry you want is on position 3.

Another option is to use dap.continue() the first time and then for sub-sequent debug sessions use dap.run_last() to skip the prompt - it will immediately re-use the last configuration.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by JoseConseco
Comment options

You must be logged in to vote
1 reply
@mfussenegger
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants