Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy Debug Console to the clipboard

I'm debugging a Node.js app in Visual Studio Code 1.0.0 and want to copy the entire contents of the Debug Console to the clipboard. After drag-selecting the Debug Console contents, Edit->Copy only copies the visible parts instead of the entire selection.

Any ideas how to copy the entire selection? I'd also be okay saving the contents to a file.

Thanks!

like image 220
Knute Knudsen Avatar asked May 11 '16 05:05

Knute Knudsen


People also ask

How do I use console debugging?

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.

How do I use Debug console in Visual Studio?

Press F5 to run the program in Debug mode. Another way to start debugging is by choosing Debug > Start Debugging from the menu. Enter a string in the console window when the program prompts for a name, and then press Enter . Program execution stops when it reaches the breakpoint and before the Console.


1 Answers

It only took 13 months (!) but a recent update has added a "Copy All" command to the context menu.

like image 187
Knute Knudsen Avatar answered Sep 20 '22 18:09

Knute Knudsen