Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Add terminateDebugger option to disconnect request

Aberta
#175 12 comentários 0 reações 1 responsável Ver no GitHub

@connor4312 já está trabalhando nisso.

Desde 16/11/2022.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

feature-request under-discussion

By default dlv debugger terminates itself when the debug session is terminated. However, if it is run with an option to allow multiple client connections, concurrently or sequentially (tracing and debugging the same process), then disconnect issued by a single client does not mean automatic detachment and termination. Instead the cli gives the client a prompt with a choice to terminate the server or keep it running while still attached to the process. This works with both launch and attach, as it is not uncommon for users to launch a remote debugging session and then keep reconnecting to it.

Can such a choice be supported via the DAP protocol? For example, for terminating or not the debuggee, we have terminateDebuggee. Can a similar terminateDebugger option be added as well?

Linguagem predominante
HTML
Estrelas
1.8k
Forks
173
Merge médio
7d 7h
PRs com merge (30d)
2

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de microsoft/debug-adapter-protocol

Todas as issues de microsoft/debug-adapter-protocol

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.