[英]nodejs start debugger on different port
Im a little confused with all this nodejs debug syntax flying around. 我对所有这些nodejs调试语法感到困惑。 I simply want to start the debugger on a process when I run it on a different port. 当我在其他端口上运行调试器时,我只是想在其上启动调试器。
Normally I start debugging by node debug file.js
通常我是通过node debug file.js
开始调试的
but now I have to process` running that I need to debug 但是现在我必须处理需要调试的运行
Now I found the command node --debugger=7873 file.js
but that starts the debugger and jumps past all the breaks and I tried node --debugger=7837 --debug-brk file.js
but that forces me to consume another teminal window. 现在我找到了命令node --debugger=7873 file.js
但是它启动了调试器并跳过了所有的中断,我尝试了node --debugger=7837 --debug-brk file.js
但是这迫使我消耗了另一个温度窗口。 How can I just run a script on a different port in the same terminal or with out using nohup? 如何只在同一终端的不同端口上运行脚本,或者不使用nohup来运行脚本?
node debug --port=[your port] your_program.js
负责的_debugger代码在这里
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.