1,直接创建launch.json

{
  // 使用 IntelliSense 了解相关属性。 
  // 悬停以查看现有属性的描述。
  // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Launch Edge",
      "request": "launch",
      "type": "msedge",
      "url": "http://localhost:3000", // 写自己的端口号
      "webRoot": "${workspaceFolder}/src",
    },
  ]
}

2,不需要做其他任何配置

然后启动调试

 

Logo

前往低代码交流专区

更多推荐