VSCode 建立DEBUG設定
按下F5,會提示你設定 "launch.json" 內容。
設定後,再次按下F5,VSCode就會執行,很方便的。
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Edge(file)",
"request": "launch",
"type": "pwa-msedge",
"file": "${workspaceFolder}/index.html",
},
{
"name": "Launch Edge(WebSite)",
"request": "launch",
"type": "pwa-msedge",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
留言
張貼留言