悉野小楼

导航

laya vscode调试typescript

laya vscode调试typescript 
launch.json配置
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "chrome",
            "request": "launch",
            "name": "针对 localhost 启动 Chrome",
            "url": "http://localhost:18090",
            "webRoot": "${workspaceRoot}/src",
        }
    ]
}

主要配置就是端口, webRoot默认是${workspaceRoot}, 需要再补个src

posted on 2025-08-21 13:35  悉野  阅读(10)  评论(0)    收藏  举报