Configuring Hotkeys for Running and debugging in VS Code
Channel: AUTOHOTKEY Gurus
Date: 2022-04-21

This video shows you how to configure hotkeys to run, debug, etc. in VS code.  The examples are with the AutoHotkey extensions however it will be the same for any language you're working with

You can get the links to the downloads and watch our Webinar on VS code here:  https://the-Automator.com/VSCode?src=yt

TLDR: The key idea of the video is to demonstrate how to use debugging features in VSCode and recommend extensions and hotkeys to make the debugging process easier and more efficient.

1. 00:00 📝 The video discusses using debugging in VSCode and recommends two extensions for autohotkey, with Version 2 winning the Chinese guy's thqby for easier communication on YouTube.
 1.1 The video discusses using debugging in VSCode and recommends two extensions for autohotkey.
 1.2 Version 2 won the Chinese guy's thqby, so it's easier to communicate with him on YouTube.

2. 01:53 🔧 Install extensions for debugger and additional debuggers, change language association, configure file associations, and use debug or run button to execute scripts.
 2.1 Install the two extensions mentioned in the video to have access to a debugger and additional debuggers, which will appear at the bottom of the screen.
 2.2 Click on the language selection to change the language association and configure file associations, then use the debug button to run the script in debug mode or use the run button to run the script normally.

3. 04:58 🔑 Change hotkeys in VSCode by accessing the key bindings in the hotkeys palette, using the f1 command to open keyboard shortcuts, and pasting the desired combination; for debugging in version 2, use the f5 hotkey or customize it in feature contributions, and you can launch the code in VSCode using a button.
 3.1 Change hotkeys in VSCode by finding the key bindings in the hotkeys palette, using the f1 command to open keyboard shortcuts, and pasting the desired combination, and for debugging in version 2, use the f5 hotkey or customize it in feature contributions.
 3.2 You can launch the code in VSCode by using a button.

4. 07:01 🔧 To configure hotkeys for running and debugging in VSCode, simply go to the run and debug command, press F5, and it will set up the environment for you, making debugging easier with features like call stack and variable watching.
 4.1 To configure hotkeys for running and debugging in VSCode, go to the run and debug command, press the F5 hotkey, and it will automatically configure the environment for you.
 4.2 VSCode allows for easy debugging with features like call stack and variable watching, unlike other editors like Notepad++.

5. 09:28 🔧 Use the "m" function to easily debug and view object data in VSCode by running the script and getting a message box with all key-value pairs listed.

6. 11:05 🔍 You can view variables and objects while running a script in VSCode, access commands to view variables and recently executed lines, and debug in real-time without affecting the script.
 6.1 You can easily view variables and objects while running a script in VSCode by double-clicking on the script icon and checking the basic information about the variables.
 6.2 You can access various commands in VSCode to view variables, lines recently executed, and hotkeys, either by double-clicking on the icon or using the corresponding command.
 6.3 Debugging in VSCode allows you to easily understand what is happening in your script without adding extra code or message boxes, and you can make changes in real-time without affecting the script itself.

7. 14:29 🔧 The debug view app in VSCode allows for quick debugging by sending messages or using the live debugger.
 7.1 The output debug command sends silent data to certain applications that are listening to it, such as IDEs, and if the IDE does not have a debugger, you can use the sys internal suite or the win debug view.
 7.2 The debug view app listens for debugging scripts and lists them, allowing for quick debugging by sending messages or using the live debugger.

8. 16:44 🔑 Assign hotkeys that make sense to you for launching different functions in VSCode, taking into account the context in which they will work.