none
Node JS closes on it own

    Question

  • I have a nodeJS code, and I am using using visual studio 2017. When I run from command line, it launches fine - however when I want to debug it using visual studio it flashes the command prompt and then closes on it own, and it does not let me debug the code. Please help.

    When I run it from command prompt, it runs fine without any error:

    When I run it from command prompt, it runs fine without any error

    When I run from Visual Studio 2017, it flashes a command prompt windows as follows and then it closes on its own, and does not let me debug:

    Wednesday, June 13, 2018 6:07 AM