2017-12-13 8 views
1

nodemon --inspect index.jsまたはnodemon --debug index.jsを実行しても機能しません。Nodemonの検査/デバッグが機能していませんか?

ノードのバージョン:8.9.1

Nodemonバージョン:1.12.6

私は運でこれらを試してみました:

  • 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の作品です。どのように思う?いずれかの代替策やいくつかの回避策も素晴らしいでしょう。

詳しい説明が必要な場合は、ご意見ください。

+0

'nodemon --inspect私の作品index.js'。 – Chris911

+0

@ Chris911 'nodemon'と' node'のバージョンはあなたですか?私は 'nodemon --inspect index.js'を20回近く試しました。それは私のために働かなかった。 –

答えて

2

[email protected]は、この引数に渡していなかったように思え、

を解決しました。新しいバージョンがあります。1.12.7すべてがうまく動作します。

回答源:Nodemon Issues - Github

+0

ありがとう@Parmesh –

+0

@mauliksakhareうれしかった:) –

関連する問題