Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Current node versions don't accept `--debug` and `--debug-brk` anymore without complaints, and current version debuggers pass `--inspect` and `--inspect-brk` anyway. The change solves the problem reported in #242, but I have not tested the functionality that was presumably intended by the original author.
- Loading branch information
Heads up! if I'm using editor-widget as a library in my own blessed program, and I run it with node --debug-brk, then this line throws if I don't have
get-random-port
installed as dependency in my project.