Browse Source

优化vscode代码debugger调试,使用vscode自带的功能,不使用插件

(cherry picked from commit fcb830b93eefcf3a1373ef2875c2d36ed44fccef)
puhui999 2 years ago
parent
commit
2742126f95
2 changed files with 4 additions and 9 deletions
  1. 4 8
      .vscode/launch.json
  2. 0 1
      package.json

+ 4 - 8
.vscode/launch.json

@@ -1,16 +1,12 @@
 {
-  // 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": [
     {
-      "type": "msedge",
+      "name": "Launch debug",
       "request": "launch",
-      "name": "Launch Edge against localhost",
-      "url": "http://localhost:5173",
-      "webRoot": "${workspaceFolder}/src",
-      "sourceMaps": true
+      "type": "chrome",
+      "url": "http://localhost",
+      "webRoot": "${workspaceFolder}/src"
     }
   ]
 }

+ 0 - 1
package.json

@@ -63,7 +63,6 @@
     "steady-xml": "^0.1.0",
     "url": "^0.11.0",
     "video.js": "^8.0.4",
-    "vite-plugin-vue-setup-extend-plus": "^0.1.0",
     "vue": "3.2.47",
     "vue-i18n": "9.2.2",
     "vue-router": "^4.1.6",