Nodemon检查/调试不起作用? [英] Nodemon inspect/debug not working?
问题描述
运行 nodemon --inspect index.js
或 nodemon --debug index.js
无效。
节点版本:8.9.1
Nodemon版本:1.12 .6
我没有运气尝试过这些东西:
I have tried these with no luck :
-
nodemon --inspect-brk index.js
nodemon---inspect index.js
nodemon index.js---inspect index .js
nodemon index.js---debug index.js
nodemon---debug index.js
nodemon --inspect --debug index.js
nodemon --debug-brk index.js
但是 node --inspect index.js
或 node --inspect-brk index.js
有效。我想知道如何?
But node --inspect index.js
or node --inspect-brk index.js
works. I wonder how? If any alternatives or some kinda workaround would be great too.
请发表评论,如果您需要进一步的描述。
Please comment if you need further description.
推荐答案
已解决,
它似乎 nodemon@1.12.6
没有传入该参数。 1.12.7
有一个较新的版本,其中的所有内容都正常运行。
It seems like nodemon@1.12.6
was not passing in this argument. There is a newer version available 1.12.7
where everything works fine and well.
答案来源: Nodemon问题-Github
这篇关于Nodemon检查/调试不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!