【发布时间】:2019-07-19 13:10:32
【问题描述】:
我有一个节点应用程序在 EC2 上的 nginx 后面运行。
这是我在launch.json中的配置:
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach to Remote",
"address": "xx.214.xxx.106",
"port":9229,
"remoteRoot": "home/username/web/myappfolder",
"timeout": 40000,
},
我检查了本地和远程机器上的所有防火墙,但没有用。 我想可能是我必须插入用户名和密码,但是如果我尝试在 launch.json 中添加“env”变量(如this document 中给出的),它说它不允许。我在网上搜索没有成功。有什么帮助吗?
【问题讨论】:
标签: node.js debugging visual-studio-code