Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sourceMaps, trace, userDataDir from launch.json #5

Merged
merged 3 commits into from
Jun 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions Angular-CLI/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,14 @@
"request": "launch",
"name": "Launch Chrome with ng serve",
"url": "http://localhost:4200/#",
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"trace": true,
"userDataDir": "${workspaceRoot}/.vscode/chrome"
"webRoot": "${workspaceRoot}"
},
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome with ng test",
"url": "http://localhost:9876/debug.html",
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"trace": true,
"userDataDir": "${workspaceRoot}/.vscode/chrome"
"webRoot": "${workspaceRoot}"
}
]
}
6 changes: 3 additions & 3 deletions Angular-CLI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ Then click on the *settings* icon to configure a launch.json file, selecting **C
ng serve
```

- After the app is shown in the browser, go to the Debug view, select the 'Launch Chrome with ng serve' configuration, then press F5 or click the green button to start debugging.
- Go to the Debug view, select the **'Launch Chrome with ng serve'** configuration, then press F5 or click the green button.

- Refresh the browser and you should hit the breakpoint.
- The app will be shown in a browser, but in order to hit the breakpoint you'll need to *refresh* the browser.

![angular-breakpoint](https://user-images.githubusercontent.com/2836367/27004337-40bca8d8-4dcd-11e7-837e-b7602a3a622a.png)

Expand All @@ -96,7 +96,7 @@ Then click on the *settings* icon to configure a launch.json file, selecting **C
ng test
```

- After the test run, go to the Debug view, select the 'Launch Chrome with ng test' configuration, then press F5 or click the green button to start debugging.
- After the test run, go to the Debug view, select the **'Launch Chrome with ng test'** configuration, then press F5 or click the green button.

- When a browser opens with the test list, click the link for the test in which you placed the breakpoint. You should then hit the breakpoint.

Expand Down