用户工具

站点工具


vscode:配置调试

{

          "name": "使用本机 Chrome 调试",
          "type": "chrome",
          "request": "launch",
          "file": "${workspaceRoot}/index.html",
          //  "url": "http://mysite.com/index.html", //使用外部服务器时,请注释掉 file, 改用 url, 并将 useBuildInServer 设置为 false "http://mysite.com/index.html
          "runtimeExecutable": "C:\\Users\\LuChunqing\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe", // 改成您的 Chrome 安装路径
          "sourceMaps": true,
          "webRoot": "${workspaceRoot}",
          //  "preLaunchTask":"build",
          "userDataDir": "${tmpdir}",
          "port": 5433
      },
      {
          "type": "firefox",
          "request": "launch",
          "name": "learning-three.js firefox",
          "file": "${workspaceRoot}/index.html",
          //"url": "http://192.168.1.100:8887/${relativeFile}",
          //"webRoot": "${fileDirname}",
          // "pathMappings": [{
          //   "url": "http://192.168.1.100:8887",
          //   "path": "${workspaceRoot}"
          // }],
          //"port":8887,
          "profile": "default",
          "firefoxExecutable": "C:/Program Files (x86)/Mozilla Firefox/firefox.exe",
          "firefoxArgs": [
              "-start-debugger-server",
              "-no-remote"
          ],
          "log": {
              "consoleLevel": {
                  "PathConversion": "Warn",
                  "default": "Warn"
              }
          }
      }
vscode/配置调试.txt · 最后更改: 2018/06/04 11:49 由 luchunqing