Using --inspect-brk=0.0.0.0 to make the Node debugger listen to all IPs instead of the default 127.0.0.1 triggers a crash on startup.
This happens because, in the meteor command generated by reaction-cli, a space is used instead of an = between --inspect-brk and the IP that was passed to the argument. Node/Meteor expects an =, and throws a syntax error.
The solution would be to process --inspect-brk separately from the rest of the arguments, and to use an = instead of a space when necessary.
Using
--inspect-brk=0.0.0.0
to make the Node debugger listen to all IPs instead of the default127.0.0.1
triggers a crash on startup.This happens because, in the
meteor
command generated byreaction-cli
, a space is used instead of an=
between--inspect-brk
and the IP that was passed to the argument. Node/Meteor expects an=
, and throws a syntax error.The solution would be to process
--inspect-brk
separately from the rest of the arguments, and to use an=
instead of a space when necessary.