chore(workspace): incorrect VSCode launch.json configs
This commit is contained in:
Vendored
+20
-11
@@ -2,15 +2,16 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "Debug Main Process",
|
"name": "Debug Electron",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"cwd": "${workspaceRoot}/apps/stage-tamagotchi",
|
// Where to run the command
|
||||||
"runtimeExecutable": "${workspaceRoot}/apps/stage-tamagotchi/node_modules/.bin/electron-vite",
|
"runtimeExecutable": "pnpm",
|
||||||
"windows": {
|
"runtimeArgs": ["-F", "@proj-airi/stage-tamagotchi", "exec", "electron-vite", "--sourcemap"],
|
||||||
"runtimeExecutable": "${workspaceRoot}/apps/stage-tamagotchi/node_modules/.bin/electron-vite.cmd"
|
// Open terminal when debugging starts (Optional)
|
||||||
},
|
// Useful to see console.logs
|
||||||
"runtimeArgs": ["--sourcemap"],
|
// "console": "integratedTerminal",
|
||||||
|
// "internalConsoleOptions": "neverOpen",
|
||||||
"env": {
|
"env": {
|
||||||
"REMOTE_DEBUGGING_PORT": "9222"
|
"REMOTE_DEBUGGING_PORT": "9222"
|
||||||
}
|
}
|
||||||
@@ -19,11 +20,19 @@
|
|||||||
"name": "Debug Minecraft Service",
|
"name": "Debug Minecraft Service",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"cwd": "${workspaceFolder}/services/minecraft",
|
// Where to run the command
|
||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/tsx",
|
// Where to run the command
|
||||||
|
"runtimeExecutable": "pnpm",
|
||||||
|
"runtimeArgs": ["-F", "@proj-airi/minecraft-bot", "exec", "tsx"],
|
||||||
"args": ["--env-file=.env", "--env-file-if-exists=.env.local", "src/main.ts"],
|
"args": ["--env-file=.env", "--env-file-if-exists=.env.local", "src/main.ts"],
|
||||||
"envFile": "${workspaceFolder}/services/minecraft/.env",
|
"envFile": "${workspaceFolder}/services/minecraft/.env",
|
||||||
"skipFiles": ["<node_internals>/**"]
|
// Open terminal when debugging starts (Optional)
|
||||||
|
// Useful to see console.logs
|
||||||
|
// "console": "integratedTerminal",
|
||||||
|
// "internalConsoleOptions": "neverOpen",
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Debug Renderer Process",
|
"name": "Debug Renderer Process",
|
||||||
@@ -51,7 +60,7 @@
|
|||||||
"compounds": [
|
"compounds": [
|
||||||
{
|
{
|
||||||
"name": "Debug All",
|
"name": "Debug All",
|
||||||
"configurations": ["Debug Main Process", "Debug Renderer Process"],
|
"configurations": ["Debug Electron", "Debug Renderer Process"],
|
||||||
"presentation": {
|
"presentation": {
|
||||||
"order": 1
|
"order": 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user