Skip to content

Instantly share code, notes, and snippets.

@webprofusion-chrisc
Last active May 13, 2018 21:40
Show Gist options
  • Save webprofusion-chrisc/41b0653fa69c8bb7061d47ba245832d2 to your computer and use it in GitHub Desktop.
Save webprofusion-chrisc/41b0653fa69c8bb7061d47ba245832d2 to your computer and use it in GitHub Desktop.
Debugging an Ionic 2 app using Visual Studio Code
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach Ionic 2 App with sourcemaps",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"url": "http://localhost:8100/"
},
{
"name": "Launch Ionic 2 App with sourcemaps",
"type": "chrome",
"request": "launch",
"url": "http://localhost:8100/",
"webRoot": "${workspaceRoot}/www",
"sourceMaps": true
}
]
}
@davutg
Copy link

davutg commented May 13, 2018

Thank you. I was checking exactly for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment