Skip to content

Commit 2d2a25e

Browse files
committed
chore: fix debug mode
1 parent daaa9f9 commit 2d2a25e

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.vscode/launch.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,14 @@
1010
"args": ["--extensionDevelopmentPath=${workspaceRoot}/packages/vscode-css-variables"],
1111
"sourceMaps": true,
1212
"outFiles": ["${workspaceRoot}/packages/vscode-css-variables/dist/**/*.js"],
13-
"preLaunchTask": "npm: build"
13+
"preLaunchTask": "npm: debug"
1414
},
1515
{
1616
"type": "node",
1717
"request": "attach",
18-
"name": "Attach to Server 6011",
18+
"name": "Attach to Server 6009",
1919
"address": "localhost",
20-
"port": 6011,
21-
"sourceMaps": true,
22-
"outFiles": ["${workspaceRoot}/packages/vscode-css-variables/dist/**/*.js"]
23-
},
24-
{
25-
"type": "node",
26-
"request": "attach",
27-
"name": "Attach to Server 6012",
28-
"address": "localhost",
29-
"port": 6012,
20+
"port": 6009,
3021
"sourceMaps": true,
3122
"outFiles": ["${workspaceRoot}/packages/vscode-css-variables/dist/**/*.js"]
3223
}

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"tasks": [
44
{
55
"type": "npm",
6-
"script": "build",
6+
"script": "debug",
77
"group": "build",
88
"presentation": {
99
"panel": "dedicated",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
],
88
"scripts": {
99
"build": "turbo run build",
10+
"debug": "turbo run build -- --sourcemap",
1011
"test": "turbo run test",
1112
"lint": "turbo run lint",
1213
"dev": "turbo run dev",

0 commit comments

Comments
 (0)