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

--debug-brk is deprecated #107

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions markdown/docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -814,12 +814,12 @@ Since the `ember serve` command does a full build when launched, this becomes ag
Avoid the slowness by manually running the build in normal mode, then run FastBoot in debug mode without doing a build:

```sh
ember build && node --debug-brk ./node_modules/.bin/ember serve
ember build && node --inspect-brk ./node_modules/.bin/ember serve
```

This does a full rebuild and then starts the FastBoot server in debug mode.

Note that the `--debug-brk` flag will cause your app to start paused to give you a chance to open the debugger.
Note that the `--inspect-brk` flag will cause your app to start paused to give you a chance to open the debugger.

Once you see the output `debugger listening on port 5858`, visit <http://127.0.0.1:8080/debug?port=5858> in your browser.
Once it loads, click the "Resume script execution" button (it has a ▶︎ icon) to let FastBoot continue loading.
Expand Down