microsoft / vscode-maven

VSCode extension "Maven for Java"
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-maven
Other
181 stars 88 forks source link

Can the behavior of onDidTerminateDebugSession be made configurable?Feature request #973

Open limeng32 opened 1 year ago

limeng32 commented 1 year ago

Suggestion

Add a configuration so that "mavenTerminal.dispose(terminalName);" can not be executed when "vscode.debug.onDidTerminateDebugSession"

Use Cases

We call "maven.plugin.debug" to perform remote debug operations. There are many reasons that may cause the debug to terminate unexpectedly at startup. At present, the terminal will be closed immediately after the "maven.plugin.debug" is terminated, so that we cannot obtain exception information. We hope that in some way to keep this terminal window after debug termination.

Thanks for attention.