MortalFool
MortalFool

Reputation: 1101

Shortcut toggle between debug configuration

has anyout anyone found a way (shortcut or navigation) without using the mouse to select different configurations before starting the debugger.

enter image description here

Is it also possible, when debugging multiple configurations, to select them without using the mouse.

enter image description here

Thank you.

Upvotes: 4

Views: 949

Answers (2)

Bogdan Dobândă
Bogdan Dobândă

Reputation: 33

You can register a custom keybinding for command: workbench.action.debug.selectandstart when: !inDebugMode

Upvotes: 1

MortalFool
MortalFool

Reputation: 1101

Part (to start debug) is done with 1.10.1

https://code.visualstudio.com/updates/v1_10#_debugging

Ability to select and start a launch using keyboard The option to launch debug configurations using just the keyboard (no mouse gesture necessary) was added, as per this request. It works similarly to running tasks, with an ability to launch a debugging session from the Command Palette. The keyword 'debug ' or the command Debug: Select and Start Debugging from the Command Palette is used to select and launch a configuration from launch.json.

Upvotes: 3

Related Questions