New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Debugging] RunInTerminal doesn't use the specified integrated terminal from workspace settings #108559
Comments
|
This looks like more a bug in the terminal API side of things. I can repro this as well using |
|
Nevermind, I missed the permission banner in the corner. Could be related #109111 |
|
I don't quite understand the issue... But may be the following FYIs help:
|
|
I poked at it a little bit. I thought it wasn't pulling the workspace, and pinged Daniel about it vscode/src/vs/workbench/api/node/extHostTerminalService.ts Lines 32 to 33 in 63e42d4
He said:
I haven't looked at it again since |
|
This seems to work now after clicking the "allow workspace shell" prompt. Verification:
|
|
@connor4312 It looks like default shell settings are no longer respected at all in workspace settings. I've verified that the original behavior in the bug occurs still. Seems like this is probably by design. |

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
Steps To Reproduce
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)
The text was updated successfully, but these errors were encountered: