A VS Code extension to debug your JavaScript code in the Google Chrome browser, or other targets that support the Chrome DevTools Protocol. When your launch config is set up, you can debug your project. Pick a launch config from the dropdown on the Debug pane in Code. Press the play button or F5 to start. The extension operates in two modes - it can launch an instance of Chrome navigated to your app, or it can attach to a running instance of Chrome. Both modes require you to be serving your web application from a local web server, which is started from either a VS Code task or from your command line. Using the URL parameter you simply tell VS Code which URL to either open or launch in Chrome. Just like when using the Node debugger, you configure these modes with a .vscode/launch.json file in the root directory of your project. You can create this file manually, or Code will create one for you if you try to run your project, and it doesn't exist yet.

Features

  • Setting breakpoints, including in source files when source maps are enabled
  • Stepping, including with the buttons on the Chrome page
  • The Locals pane
  • Debugging eval scripts, script tags, and scripts that are added dynamically
  • Watches
  • Console

Project Samples

Project Activity

See All Activity >

Categories

Debuggers

License

MIT License

Follow vscode-chrome-debug

vscode-chrome-debug Web Site

Other Useful Business Software
MyQ Print Management Software Icon
MyQ Print Management Software

SAVE TIME WITH PERSONALIZED PRINT SOLUTIONS

Boost your digital or traditional workplace with MyQ’s secure print and scan solutions that respect your time and help you focus on what you do best.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of vscode-chrome-debug!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Debuggers

Registered

2022-05-04