umma.dev

Debugger in VS Code

VS Code comes with an in-built debugger. Here I discuss how you can get it up and running.

On the left hand side panel, select the fourth icon called, “Run and Debug”

To configure running the debugger, you should see a number of different options, depending on the type of application you’re in.

For example, run and debug, JavaScript debug terminal and debug URL.

You can configure debug settings for your application through a launch.json file. and select the kind of debug environement.

In addition to this, you will also a debug console within the terminal, which will also show any errors.

Break points can be added within files on the left hand side next to the line numbers.

Click here to read the docs in more depth