You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extension keeps requesting to restart my terminal #1647
Hi D. Theuke (@AQS-DTheuke), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
Suggestions:
Switch the Java debugger to use the Debug Console instead of an integrated terminal. In your settings.json:
"java.debug.console": "internalConsole"
This will avoid the extension contributing environment variables to the terminal on every reload.
Keep an eye on the Debugger for Java extension’s issue tracker for a proper fix (the extension is repeatedly contributing to the shell integration API). Once implemented, the prompt should only appear once per session.
Other references with high confidence:
vscode-gradle#265 • “Excessive ‘restart server’ windows” – Gradle extension repeatedly prompts to restart. Similar root cause in how extensions contribute to a running process. Excessive "restart server" windows vscode-gradle#265
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!
Activity
github-actions commentedon May 29, 2026
Hi D. Theuke (@AQS-DTheuke), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
Suggestions:
Switch the Java debugger to use the Debug Console instead of an integrated terminal. In your settings.json:
This will avoid the extension contributing environment variables to the terminal on every reload.
Keep an eye on the Debugger for Java extension’s issue tracker for a proper fix (the extension is repeatedly contributing to the shell integration API). Once implemented, the prompt should only appear once per session.
Other references with high confidence:
Other references with low confidence
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!
fix: avoid spurious 'restart terminal' prompts on every window reload (…
wenytang-ms commentedon Jun 9, 2026
AQS-DTheuke commentedon Jun 9, 2026
Works as expected now. Thanks ❤️