Skip to content

Commit

Permalink
fix: vscode debug config (#7231)
Browse files Browse the repository at this point in the history
  • Loading branch information
CurryYangxx authored Apr 8, 2024
1 parent 366e59a commit 26a78cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"order": 1
},
"cwd": "${workspaceFolder}/packages/insomnia",
"runtimeExecutable": "${workspaceFolder}/packages/insomnia/node_modules/.bin/electron",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"runtimeArgs": ["--remote-debugging-port=9222", "."],
"outputCapture": "std",
"windows": {
"type": "node",
"request": "launch",
"name": "Electron: main",
"runtimeExecutable": "${workspaceFolder}/packages/insomnia/node_modules/.bin/electron.cmd"
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"env": {
"NODE_ENV": "development",
Expand Down
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"NODE_ENV": "development",
}
},
"command": "${workspaceRoot}/packages/insomnia/node_modules/.bin/esr esbuild.main.ts"
"command": "${workspaceRoot}/node_modules/.bin/esr esbuild.main.ts"
},
{
"label": "Insomnia: Compile Renderer (Watch)",
Expand Down Expand Up @@ -52,7 +52,7 @@
}
}
},
"command": "${workspaceRoot}/packages/insomnia/node_modules/.bin/vite dev"
"command": "${workspaceRoot}/node_modules/.bin/vite dev"
},
{
"label": "Insomnia: Compile (Watch)",
Expand Down

0 comments on commit 26a78cf

Please sign in to comment.