- Version: 9.6.1
- Platform: Debian 9 and Windows 10
- Subsystem: inspector
Example:
node inspect my-script will listen a port and start debugger cli
node --inspect my-script will only listen a port
node inspect --port=1234 my-script will able to enter debugger cli with custom port No Document
I did not found any document about how to enter debugger cli with custom port
node --inspect=1234 my-script will only listen on custom port
It's a bit confuse for user, it looks like one command, but in face they have different behavior
Example:
node inspect my-scriptwill listen a port and start debugger clinode --inspect my-scriptwill only listen a portnode inspect --port=1234 my-scriptwill able to enter debugger cli with custom port No Documentnode --inspect=1234 my-scriptwill only listen on custom portIt's a bit confuse for user, it looks like one command, but in face they have different behavior