vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Use integrated terminal for debugging

Open princehektor opened this issue 8 years ago • 9 comments

Type: Debugger Input information below

Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.

OS and Version: Ubuntu 16.04, 64bit VS Code Version: 1.28.1 C/C++ Extension Version: 0.19.0

To Reproduce Please include a code sample and launch.json configuration. Steps to reproduce the behavior:

  1. How to use the integrated terminal(instead of gnome-terminal or xterm) for debugging.

Additional context I found a similar issue but this was only for the node debugger.

https://github.com/Microsoft/vscode/issues/16890

princehektor avatar Oct 23 '18 21:10 princehektor

@sean-mcmanus : Can you help me out here ?

princehektor avatar Oct 23 '18 21:10 princehektor

Are you using the latest Insiders build at https://github.com/Microsoft/vscode-cpptools/releases/tag/0.19.1-insiders3 ? I think the Integrated Terminal was added in 0.19.1-insiders2.

@pieandcakes @WardenGnaw are the debugger experts.

sean-mcmanus avatar Oct 23 '18 21:10 sean-mcmanus

@princehektor Please try using the insiders release. As @sean-mcmanus mentioned, it was recently introduced.

pieandcakes avatar Oct 23 '18 22:10 pieandcakes

Duplicate of #35

pieandcakes avatar Oct 23 '18 22:10 pieandcakes

@pieandcakes : I installed code insiders. What do i need to change in my launch.json to use the internal terminal for debugging ?

Version: 1.29.0-insider Commit: d1f5894892e3719846bbd4bd0dd75f117f211ab5 Date: 2018-10-23T05:14:53.945Z Electron: 2.0.11 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64

princehektor avatar Oct 23 '18 22:10 princehektor

@princehektor Its not code insiders, it is the insiders version of our extension, located in the link Sean posted above. Once you have it installed, it is controlled by externalConsole being set to false.

Note: This works only for local scenarios and only on Windows/ Linux

pieandcakes avatar Oct 23 '18 23:10 pieandcakes

@pieandcakes : What do you mean by "local scenarios" ?

princehektor avatar Oct 30 '18 18:10 princehektor

@princehektor It will only work if you launch the app locally. It does not work for remote (pipeTransport) or attaching to an existing process.

pieandcakes avatar Oct 30 '18 18:10 pieandcakes

This feature is available in our 0.20.0 version of the extension

pieandcakes avatar Oct 31 '18 18:10 pieandcakes