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

    ]
}

留言

這個網誌中的熱門文章

溪和食品有限公司 - 觀光工廠接待人員(薪約30K.免費供餐),今天投遞此份工作。

載入JavaScript code的最佳時機