基本的node.js项目的“属性'程序'不存在”
我创建了简单的node.js应用程序(来自此处的源代码https://azure.microsoft.com/zh-cn/blog/visual-studio-code-and-azure-app-service-a-perfect-fit/) var http = require('http'); http.createServer(function (req, res) { console.log('Got request for ' + req.url); res.writeHead(200, {'Content-Type': 'text/html'}); res.end('<h1>Hello Code and Azure Web Apps!</h1>'); }).listen(process.env.PORT); 然后单击VSCode生成launch.json: { "version": "0.2.0", "configurations": [ { "name": "Launch", "type": "node", "request": "launch", "program": "${workspaceRoot}/app.js", "stopOnEntry": false, "args": [], "cwd": "${workspaceRoot}", "preLaunchTask": null, "runtimeExecutable": null, …