What’s included in SitePoint Premium?

Debugging with Visual Studio Code: An Introduction

What’s included in SitePoint Premium?

  • Read offline (beta)
  • 250+ books
  • 120+ courses
  • New content added weekly
  • Ad Free SitePoint
  • Cancel anytime
  • 30 Days Money Back Guarantee!


    Programming is fun, because developers have the power to create anything they want. Unfortunately, that fun can dissipate the moment they encounter bugs. The first thing that might come to mind for a JavaScript developer is the console.log statement. Adding console.log() is a quick way to visualize the state of your code.

    However, when developing more complex programs, logging everything to your terminal can be frustrating. Visual Studio Code (VS Code from here on) has built-in features which permit easier debugging and variable monitoring.

    Let’s take a look how you can improve your debugging experience!

    available in: