

For example, if you set "skipFiles":, then you will skip any file named 'jquery.js' when stepping through your code. You can use the skipFiles property to ignore/blackbox specific files while debugging. Instrument " Chrome to pause as each script is loaded, resolving sourcemaps and setting breakpoints" Regex "ets breakpoints optimistically in files with the same name as the file in which the breakpoint is set." breakOnLoadStrategy: The strategy used for breakOnLoad.If true, the debug adapter will attempt to set breakpoints in scripts before they are loaded, so it can hit breakpoints at the beginnings of those scripts. showAsyncStacks: If true, callstacks across async calls (like setTimeout, fetch, resolved Promises, etc) will be shown.disableNetworkCache: If false, the network cache will be NOT disabled.Especially useful for debugging with async/await.
#Ms project viewer for chrome code#

Using the url parameter you simply tell VS Code which URL to either open or launch in Chrome. Both modes requires you to be serving your web application from local web server, which is started from either a VS Code task or from your command-line. 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. Pick a launch config from the dropdown on the Debug pane in Code. When your launch config is set up, you can debug your project. Open the folder containing the project you want to work on.Any features that aren't script debugging.Debugging eval scripts, script tags, and scripts that are added dynamically.Stepping, including with the buttons on the Chrome page.Setting breakpoints, including in source files when source maps are enabled.Please file any issues you encounter in that repository.ĭebug your JavaScript code running in Google Chrome from VS Code.Ī VS Code extension to debug your JavaScript code in the Google Chrome browser, or other targets that support the Chrome DevTools Protocol. You can safely un-install this extension and you will still be able to have the functionality you need. It is a debugger that debugs Node.js, Chrome, Edge, WebView2, VS Code extensions, and more. This extension has been deprecated as Visual Studio Code now has a bundled JavaScript Debugger that covers the same functionality.
