Where is stdout for VS Code?

前端 未结 3 1819
无人共我
无人共我 2021-01-17 22:27

I am running Node.js in VS Code. I see output of console.log in the Debug Window.

Where does process.stdout.write go to? I can\'t find it i

3条回答
  •  感情败类
    2021-01-17 23:29

    Looking at issues with process.stdout.write the suggested fixes are adding these to your launch config:

    "console": "internalConsole", 
    "outputCapture": "std",
    

    Especially the outputCapture entry is important.

提交回复
热议问题