From 8dc043f301d91d02f939fb58413306f03d6d96d0 Mon Sep 17 00:00:00 2001 From: SparshithNRai Date: Thu, 29 Aug 2019 13:15:52 -0700 Subject: [PATCH] --debug-brk is deprecated `--debug-brk` is deprecated [starting Node 7.7](https://nodejs.org/en/docs/guides/debugging-getting-started/#legacy-debugger). Updating the doc with `--inspect-brk` --- markdown/docs/user-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown/docs/user-guide.md b/markdown/docs/user-guide.md index 2a39141..3d3f935 100644 --- a/markdown/docs/user-guide.md +++ b/markdown/docs/user-guide.md @@ -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 in your browser. Once it loads, click the "Resume script execution" button (it has a ▶︎ icon) to let FastBoot continue loading.