添加自动映射端口并尝试添加工作流
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
|
||||
{
|
||||
"name": "Node.js",
|
||||
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye",
|
||||
|
||||
"forwardPorts": [
|
||||
3000
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {},
|
||||
@@ -11,7 +12,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"portsAttributes": {
|
||||
"3000": {
|
||||
"label": "Hello Remote World",
|
||||
@@ -19,4 +19,4 @@
|
||||
}
|
||||
},
|
||||
"postAttachCommand": "yarn install && npm run debug"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user