添加自动映射端口并尝试添加工作流

This commit is contained in:
2025-12-09 15:47:39 +08:00
parent 5fb67664c1
commit d9b01c42df
5 changed files with 51 additions and 19 deletions

View File

@@ -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"
}
}