Skip to content

Instantly share code, notes, and snippets.

@javaeeeee
Last active December 24, 2016 15:18
Show Gist options
  • Select an option

  • Save javaeeeee/c8a8acb27462a0d223e9132acb2deaca to your computer and use it in GitHub Desktop.

Select an option

Save javaeeeee/c8a8acb27462a0d223e9132acb2deaca to your computer and use it in GitHub Desktop.
launch.json file that starts lite-server and opens AngularJS application in a Chrome tab
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome against localhost, with sourcemaps",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"sourceMaps": true,
"webRoot": "${workspaceRoot}",
"preLaunchTask": "startServer"
},
{
"name": "Attach to Chrome, with sourcemaps",
"type": "chrome",
"request": "attach",
"url": "http://localhost:3000",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment