Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

Commit 91bc8b8

Browse files
authored
Merge pull request #749 from olafthiele/patch-1
Doc improvement on how to use SERVER_NODE_OPTIONS
2 parents 0de8940 + eb4ca46 commit 91bc8b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/commandline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ required.
3333
This is the default command. Simply running `meteor` is the
3434
same as `meteor run`.
3535

36-
To pass additional options to Node.js use the `SERVER_NODE_OPTIONS` environment variable.
37-
For example: `SERVER_NODE_OPTIONS='--inspect'` or `SERVER_NODE_OPTIONS='--inspect-brk'`
36+
To pass additional options to Node.js use the `SERVER_NODE_OPTIONS` environment variable. E.g. for Windows PowerShell:
37+
`$env:SERVER_NODE_OPTIONS = '--inspect' | meteor run`. Or for Linux: `SERVER_NODE_OPTIONS=--inspect-brk meteor run`.
3838

3939
To specify a port to listen on (instead of the default 3000), use `--port [PORT]`.
4040
(The development server also uses port `N+1` for the default MongoDB instance)

0 commit comments

Comments
 (0)