Reputation: 126777
The default VS Code shortcuts seem to be:
The thing I most often want to do is "take any changes into account and run", which means three different things depending on state:
Is there a way to configure it so that one key combination will start (if not running) or restart?
Upvotes: 5
Views: 1631
Reputation: 126777
Oh, it seems to be as simple as: Set "F5" as the shortcut for "Debug: Restart" (as well as for "Debug: Start"). The When setting of "inDebugMode" means VS Code knows to perform a restart rather than a start.
Upvotes: 6