WHY WON'T THIS WORK?!?!?!

Boede Westerkamp 0 Reputation points
2025-10-27T22:15:43.9633333+00:00

How do you enable debugging keyboard shortcuts. I cannot find the place or button where you can supposedly "disable" it or put it back on "default". PLZ HELP ME!!!!

Windows development | Windows Performance Toolkit
{count} votes

1 answer

Sort by: Most helpful
  1. Tony Dinh (WICLOUD CORPORATION) 4,400 Reputation points Microsoft External Staff
    2025-10-29T06:57:49.6866667+00:00

    Hello @Boede Westerkamp !

    If they’ve been disabled or remapped, you can restore them by resetting the keymap to Default or reassigning the specific debug commands (Start Debugging, Step Into, Step Over, etc.) manually. Here are the steps you can follow:


    Identify Your Environment

    • Visual Studio (Windows)
      • Go to Tools > Options > Environment > Keyboard.
      • Search for commands like Debug.Start, Debug.StepInto, Debug.StepOver.
      • If they’re blank or wrong, reassign them (e.g., F5 for Start Debugging, F10 for Step Over, F11 for Step Into).
      • To reset everything: Tools > Import and Export Settings > Reset all settings → choose General Development Settings.
    • Visual Studio Code
      • Open File > Preferences > Keyboard Shortcuts (or press Ctrl+K Ctrl+S).
      • Search for Debug: Start Debugging, Debug: Step Over, etc.
      • Right-click → Reset Keybinding to restore defaults.
      • If you want a full reset: delete or rename your keybindings.json file (found under .vscode in your user profile), then restart VS Code.

    Verify Debugging Is Enabled

    • In Visual Studio, ensure you’re in a Debug configuration (dropdown near the Run button).
    • In VS Code, make sure you have a valid launch.json in .vscode—without it, debugging shortcuts won’t trigger anything.

    Restore Defaults

    • If nothing works, reset the entire IDE settings to defaults.
      • Visual Studio: devenv /resetsettings from Developer Command Prompt.
      • VS Code: Delete the User settings folder (%APPDATA%\Code\User on Windows).

    I hope this helps! Let me know if you have stuck anywhere! If you find my answer is useful, please kindly mark this as final answer so that others could benefit as well!


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.