Skip to content

Commit 2b69dbc

Browse files
author
TaotaoDong
committed
chore: debugging options
1 parent a381015 commit 2b69dbc

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.vscode/launch.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77
"request": "launch",
88
"name": "Launch Client",
99
"runtimeExecutable": "${execPath}",
10-
"args": ["--extensionDevelopmentPath=${workspaceRoot}/packages/vscode-tailwindcss"],
10+
"args": [
11+
// enable this flag if you want to activate the extension only when you are debugging the extension
12+
// "--disable-extensions",
13+
"--disable-updates",
14+
"--disable-workspace-trust",
15+
"--skip-release-notes",
16+
"--skip-welcome",
17+
"--extensionDevelopmentPath=${workspaceRoot}/packages/vscode-tailwindcss"
18+
],
1119
"stopOnEntry": false,
1220
"sourceMaps": true,
1321
"outFiles": ["${workspaceRoot}/packages/vscode-tailwindcss/dist/**/*.js"],

.vscode/tasks.json

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"panel": "dedicated",
2424
"reveal": "never"
2525
},
26+
"options": {
27+
"cwd": "${workspaceFolder}/packages/vscode-tailwindcss"
28+
},
2629
"problemMatcher": ["$tsc-watch"]
2730
}
2831
]

0 commit comments

Comments
 (0)