Skip to content

Commit

Permalink
build(aio): add debugging configurations for vs code (akveo#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deilan authored and azhukaudev committed Apr 27, 2017
1 parent 24e0701 commit e629fea
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:4200",
"port": 9222,
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"smartStep": true,
"userDataDir": "${workspaceRoot}/.vscode/chrome"
},
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"smartStep": true
}
]
}
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"typescript.tsdk": "./node_modules/typescript/lib"
"typescript.tsdk": "./node_modules/typescript/lib",
"files.exclude": {
".vscode/chrome": true
}
}

0 comments on commit e629fea

Please sign in to comment.