VS Code debugging for web developer

A comprehensive guide into debugging web applications inside VS Code

Debugging in VS Code for web developers.

image-source: VS-Code website

What is VS Code.

Visual Studio Code is a light weight IDE for developing and debugging web applications or projects that run on javascript.Although by installing extensions you can extend the functionality to support different languages within the IDE. Vs Code is built on electronJs which is a JavaScript framework for building native desktop applications,Which means it comes with full support of running JavaScript applications for web developers.

Electron JS has main process and render process.Main process runs nodeJs in back-end whereas renderer process runs any web application using any web framework in JavaScript.

Intelligence and presets for web development

  • Suggests all the node commands to run directly from package.json file
  • The Debug tab on the left toolbar helps you to switch to debug mode instantly
  • Full support for GIT out of the box
  • Extensions to give more features for the existing IDE which is fully Customisable
  • Integrated terminal with multiple instances
  • Debug console to enable browser level js execution during debugging
  • Simple browser like view so you don’t have to learn again
  • put a debugger inline in the Editor.
  • simple controls to navigate through the debugging process
  • create your own environment by creating .vscode/launch.json file and maintaining the suggestion
  • Below is a sample nodejs configuration

Conclusion

Thanks, hope this helps you get basic idea for debugging web applications in VS Code . Read more here

--

--

--

On my way to be an indie developer, creator creating a focus on better living.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

React Hooks Basics

JavaScript Wizard: Tips and Tricks

Code States JS week1

The same front-end code, why only my computer can’t run

What I learned from React-Query, and why I will not use it in my next project

Angular: Using different ToolTip Templates for every column in an Ag-Grid Table

Make it Real Elite — Third week — Collaborative Canvas

The current state of Web Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Achuth hadnoor

Achuth hadnoor

On my way to be an indie developer, creator creating a focus on better living.

More from Medium

Working with Git branches

Introduction to Git Workflow

4 Tips To Make Production Debugging Easier

Colorful 404 error message with upside down smiley as the 0.