Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use the new Windows Terminal as Visual Studio debugging console

How can I set the new Windows Terminal application to be used as debugging console in Visual Studio 2019? By default it launches cmd.exe when I debug.

like image 350
Luka Avatar asked Jun 25 '19 11:06

Luka


People also ask

How do I Debug in Visual Studio terminal?

As the following image shows, Visual Studio indicates the line on which the breakpoint is set by highlighting it and displaying a red dot in the left margin. Press F5 to run the program in Debug mode. Another way to start debugging is by choosing Debug > Start Debugging from the menu.

How do I get the Debug window in Visual Studio?

To enable the Debug Location toolbar, click in an empty part of the toolbar area and select Debug Location from the dropdown, or select View > Toolbars > Debug Location. Set a breakpoint and start debugging. When the breakpoint is hit, execution pauses and you can see the location in the Debug Location toolbar.

How do I run a Debug console?

To open the Debug Console, use the Debug Console action at the top of the Debug pane or use the View: Debug Console command (Ctrl+Shift+Y). Expressions are evaluated after you press Enter and the Debug Console REPL shows suggestions as you type.


1 Answers

To add to @Bravo's answer, I also tried searching the Windows registry for variants of "cmd", "cmd.exe" and so on in areas of the registry dedicated to Visual Studio, and couldn't seem to find anything.

A search of *.config, *.xml, *.json in Visual Studio related directories didn't seem to yield anything useful either.

For now, I've requested this feature in the Developer Community. If it makes sense to you, you might consider voting on that feature.

like image 199
Kit Avatar answered Nov 08 '22 19:11

Kit