Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CommandID for 'Debug: evaluate' in Visual Studio Code not found

I want to add a keyboard shortcut for the command 'Debug: evaluate' in Visual Studio Code. Unfortunately, the command ID for the command 'Debug: evaluate' is not documented. Did someone know where to find the commandId ?

like image 762
poulo Avatar asked Aug 11 '16 14:08

poulo


1 Answers

editor.debug.action.selectionToRepl is what you are looking for. It will execute the current selected text in the debugger console.

https://github.com/Microsoft/vscode/blob/d2b6bbb46fbdf535e2c96b3e00ac56ac1d427a69/src/vs/workbench/parts/debug/browser/debugEditorActions.ts#L141

like image 190
Steffen Avatar answered Sep 28 '22 14:09

Steffen