Skip to content

Commit

Permalink
change debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
oweitman committed Nov 24, 2024
1 parent f94cb33 commit b6b9079
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
36 changes: 24 additions & 12 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "repochecker",
"program": "../iobroker.repochecker/index.js",
"args": ["https://github.com/oweitman/ioBroker.squeezeboxrpc", "main", "--local"],
"request": "launch",
"stopOnEntry": true,
"runtimeExecutable": "c:/Users/oweit/AppData/Roaming/fnm/aliases/default/node.exe",
"skipFiles": ["<node_internals>/**"],
"type": "node"
},
{
"type": "node",
"request": "launch",
"name": "Launch ioBroker Adapter ",
"name": "default Launch ioBroker Adapter ",
"skipFiles": ["<node_internals>/**"],
"args": ["--debug", "0"],
"program": "node_modules/iobroker.squeezeboxrpc/squeezeboxrpc.js",
"cwd": "${workspaceFolder}/.dev-server/default",
"runtimeExecutable": "c:/Users/oweit/AppData/Roaming/fnm/aliases/default/node.exe",
"stopOnEntry": true,
"sourceMaps": true,
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
"console": "internalConsole",
"outputCapture": "std",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "**/node_modules/**"]
},
{
"type": "chrome",
Expand Down Expand Up @@ -55,6 +47,26 @@
"url": "http://localhost:8082/vis-2/?main#default",
"trace": true,
"skipFiles": ["socket.io.js"]
},
{
"name": "dev-server",
"program": "../dev-server/dist/index.js",
"args": ["watch", "--noInstall"],
"request": "launch",
"stopOnEntry": true,
"runtimeExecutable": "c:/Users/oweit/AppData/Roaming/fnm/aliases/default/node.exe",
"skipFiles": ["<node_internals>/**"],
"type": "node"
},
{
"name": "repochecker",
"program": "../iobroker.repochecker/index.js",
"args": ["https://github.com/oweitman/ioBroker.squeezeboxrpc", "main", "--local"],
"request": "launch",
"stopOnEntry": true,
"runtimeExecutable": "c:/Users/oweit/AppData/Roaming/fnm/aliases/default/node.exe",
"skipFiles": ["<node_internals>/**"],
"type": "node"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"useUnknownInCatchVariables": false,
"sourceMap": true
},
"include": ["**/*.js", "**/*.d.ts"],
"include": ["lib/**/*.js", "lib/**/*.d.ts", "squeezeboxrpc.js"],
"exclude": ["node_modules/**", "widgets/**", "lib/squeezenode/**"]
}

0 comments on commit b6b9079

Please sign in to comment.