Skip to content

Commit ae45294

Browse files
authored
chore: add breakpoint debugging config for VS Code (#4994)
1 parent 1cff4c4 commit ae45294

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
33
"version": "0.2.0",
44
"configurations": [
5+
{
6+
"name": "Launch Chrome",
7+
"request": "launch",
8+
"type": "chrome",
9+
"url": "http://localhost:5173",
10+
"webRoot": "${workspaceFolder}/packages"
11+
},
12+
{
13+
"name": "Launch Edge",
14+
"request": "launch",
15+
"type": "msedge",
16+
"url": "http://localhost:5173",
17+
"webRoot": "${workspaceFolder}/packages"
18+
},
19+
{
20+
"name": "Run and debug",
21+
"type": "node",
22+
"request": "launch",
23+
"cwd": "${workspaceRoot}",
24+
"runtimeExecutable": "vitepress",
25+
"runtimeArgs": ["dev", "packages"]
26+
},
527
{
628
"type": "pwa-node",
729
"request": "launch",

packages/.vitepress/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default defineConfig({
8585
'fuse.js',
8686
'universal-cookie',
8787
],
88+
disabled: 'dev',
8889
},
8990
build: {
9091
rollupOptions: {

0 commit comments

Comments
 (0)