Why does the Node.js scripts console close instantly in Windows 8?

前端 未结 1 1850
灰色年华
灰色年华 2021-01-14 03:16

I\'ve tried nearly every example for scripts I can find. Every sample opens the terminal for a split second. Even this closes as soon as input is entered. Is this normal?

相关标签:
1条回答
  • 2021-01-14 03:29

    There are 2 options that control this in Tools/Options/Node.js Tools/General:

    Wait for input when process exists abnormally Wait for input when process exists normally

    Taken from https://nodejstools.codeplex.com/discussions/565665

    0 讨论(0)
提交回复
热议问题