-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Description
If my default integrated terminal in Visual Studio Code is git-bash then an error happens. I found out that a workaround is to change the default integrated terminal to cmd or powershell. I tried changing the current terminal in my workspace settings to cmd.exe, but when I hit F5 to start debugging it incorrectly uses git-bash.
If I change the global settings files, then the debugger works as expected... but I don't want to change it globally as I work with git-bash in most of my other projects.
If I press the + button to create a new terminal, it creates a new cmd terminal as expected, using the workspace settings file definition for the default terminal.
Environment
- Operating System: Windows 10
- JDK version: 14
- Visual Studio Code version: 1.48.2
- Java extension version: 0.10.0
- Java Debugger extension version: 0.28.0
Steps To Reproduce
- Set git-bash as default integrated terminal in your global settings.
- Set cmd as default integrated terminal in your workspace settings.
- Press F5 to launch and start debugging
Current Result
It starts debugger using git-bash (which does not work for me):
Expected Result
Start debugging in a cmd.exe terminal (which works nicely):
(to get this screenshot I had to set the global default terminal)
Originally posted by @masbicudo in microsoft/vscode-java-debug#877 (comment)

