Skip to Main Content
Visual Studio Code
book

Visual Studio Code

by Bruce Johnson
September 2019
Intermediate to advanced content levelIntermediate to advanced
192 pages
6h 3m
English
Wiley
Content preview from Visual Studio Code

6Debugging Code

WHAT'S IN THIS CHAPTER?

  • Understanding how to launch applications from within Visual Studio Code
  • Learning about the various debug actions that are supported
  • Creating launch configurations that support multiple simultaneous debug sessions

By now, it has been pretty well established that Visual Studio Code is a solid editor. And perhaps even a little better than solid. But if you're coming from a more “full‐featured” development environment (thinking of you, Visual Studio and Eclipse), having an extraordinary editor isn't enough. You're used to being able to execute and debug your application from within your IDE. And while you can use other tools to debug web applications, it's still really convenient to have editing, executing, and debugging in one place.

Fortunately, Visual Studio Code can meet this requirement. In this chapter, we look at how to debug your web application from within the IDE. Although a number of debugger extensions allow other languages to be debugged, the capabilities that are native to Visual Studio Code are impressive.

DEBUGGING NODE.JS

Being able to use your editor as a debugging environment is a powerful idea. This is even more true when you're working in a web environment, where the web server frequently detects changes in the files and reloads all or part of the application dynamically.

Visual Studio Code comes with the ability to debug Node.js applications without additional installations required. This section will walk through ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming TypeScript

Programming TypeScript

Boris Cherny
The Complete Node.js Developer Course (3rd Edition)

The Complete Node.js Developer Course (3rd Edition)

Andrew Mead, Codestars By Rob Percival
Learning TypeScript

Learning TypeScript

Josh Goldberg

Publisher Resources

ISBN: 9781119588184Purchase book