Skip to content

Disabling terminal by default when starting debug session #754

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

You must be logged in to vote

Some debug adapters have a console option with options like integratedConsole or integratedTerminal. If that's the case you switch from integratedTerminal to integratedConsole.

If the debug adapter doesn't let you control if it uses a integrated terminal you can either:

  • Set terminal_win_cmd to something like tabnew, to have it open the terminal in a new tab in the background
  • Set terminal_win_cmd to a lua function which creates a window/buffer and then hides it. Afaik nvim-dap-ui does that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cheeze2000
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