Skip to content

Commit 2594fd0

Browse files
committed
Provide instructions how to debug app via VS Code
1 parent 33fa701 commit 2594fd0

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,27 @@ are using any versions between v8.0 and v8.4 we would recommend upgrading to at
705705
For any versions prior to 6.4 the previous version of this documentation is still valid.
706706
Please follow those instructions [here](https://github.com/ember-fastboot/ember-cli-fastboot/tree/v1.0.4#developer-tools)
707707
708+
#### Debugging via VS Code
709+
710+
Make sure you have `.vscode/launch.json` with minimal configuration that looks like below:
711+
```json
712+
{
713+
"version": "0.2.0",
714+
"configurations": [
715+
{
716+
"type": "pwa-node",
717+
"request": "launch",
718+
"name": "Debug Ember App",
719+
"skipFiles": [
720+
"<node_internals>/**"
721+
],
722+
"program": "./node_modules/ember-cli/bin/ember",
723+
"args": "s"
724+
}
725+
]
726+
}
727+
```
728+
708729
## Tests
709730
710731
Run the automated tests by running `npm test`.

0 commit comments

Comments
 (0)