Skip to content

Example repo with launch.json setup to run & debug inside VSCode with the browser preview extension

Notifications You must be signed in to change notification settings

DevHelp-Online/angularcli-vscode-browser-preview

Repository files navigation

Debugging Angular-CLI Apps in VSCode via Browser Preview

Check out the full write-up on Medium here!

Launch.json changes needed to sync up with the Angular-CLI:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "browser-preview",
      "name": "Browser Preview: Attach",
      "request": "attach"
    },
    {
      "type": "browser-preview",
      "request": "launch",
      "name": "Browser Preview: Launch",
      "url": "http://localhost:4200", // <-- 
      "webRoot": "${workspaceFolder}" // <-- 
    }
  ]
}

DevHelp.Online - Consulting | Training | Development

Check out www.DevHelp.Online for more info! Twitter @DevHelpOnline

Contact us at [email protected], and let's talk about your projects needs.

DevHelp.Online - Angular ASPNET JavaScript Consulting Development and Training

Twitter Follow

About

Example repo with launch.json setup to run & debug inside VSCode with the browser preview extension

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published