【发布时间】:2018-08-12 16:08:55
【问题描述】:
我在 VS Code 中运行 Node.js。我在调试窗口中看到了console.log 的输出。
process.stdout.write 去哪儿了?我在调试控制台或任何输出窗口中都找不到它。
我的 launch.json 就是这样的:
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/job.js"
}
]
}
【问题讨论】:
-
你能发布你的调试配置部分吗?
-
我已添加
launch.json。不确定这是否是您的意思。