microsoft / microsoft/java-debug
References to launch.json in error messaging may be misleading
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Java
- Estrelas
- 409
- Forks
- 204
- Merge médio
- 1d 13h
- PRs com merge (30d)
- 4
Descrição
https://github.com/microsoft/java-debug/search?q=launch.json
There appear to be only two references to launch.json in this repository. There does not appear to be any part of the code actually reading or referencing or introspecting a file named launch.json.
End users may find references to launch.json confusing if a third party tool has launched the debugger to connect to a java process and did not pass in a "projectName" to the call. While I realize this is a bit outside the scope of this repository, an example would be a vscode extension using the vscode.debug API (which flows to the https://github.com/microsoft/vscode-java-debug extension) and not setting a project name. In this case there is no launch.json file.
private async startDebugger(port: string) {
this.port = port;
vscode.debug.startDebugging(undefined, {
type: 'java',
request: 'attach',
name: 'Debug (Remote)',
hostName: 'localhost',
port,
projectName // set to undefined as an example
});
}
Since this repository itself does not read a launch.json at all, and all configuration is passed in via a Debug Adapter, not an existing file, these references to a file name are very misleading.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece pela busca no repositório por launch.json vinculada na issue e inspecione as duas referências a mensagens de erro. Determine uma redação que não implique que este repositório lê um arquivo launch.json; considera-se concluído quando as referências enganosas forem esclarecidas ou removidas para sessões do depurador iniciadas por meio da VS Code debug API.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java, vscode
- Domínio
- devtools
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100