Update VSCode debugging configuration

This commit is contained in:
Denis Perov 2024-09-30 16:23:27 +03:00
parent 718c1a393d
commit ec5d0d00f5

84
.vscode/launch.json vendored
View file

@ -1,45 +1,57 @@
{ {
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"type": "chrome", "type": "node",
"request": "launch", "request": "launch",
"name": "Meteor: Chrome", "name": "Meteor: Node",
"url": "http://localhost:3000", "runtimeExecutable": "meteor",
"webRoot": "${workspaceFolder}" "runtimeArgs": [
"--port=4000",
"--exclude-archs=web.browser.legacy,web.cordova",
"--raw-logs"
],
"env": {
"WRITABLE_PATH": "/tmp/uploads",
}, },
{ "outputCapture": "std",
"type": "node", "restart": true,
"request": "launch", "timeout": 60000
"name": "Meteor: Node", },
"runtimeExecutable": "/home/wekan/.meteor/meteor", {
"runtimeArgs": ["run", "--inspect-brk=9229"], "type": "chrome",
"outputCapture": "std", "request": "launch",
"port": 9229, "name": "Meteor: Chrome",
"timeout": 60000 "url": "http://localhost:4000",
"sourceMapPathOverrides": {
"meteor://💻app/*": "${workspaceFolder}/*"
}, },
{ "userDataDir": "${env:HOME}/.vscode/chrome"
"type": "node", },
"request": "launch", {
"name": "Test: Node", "type": "node",
"runtimeExecutable": "meteor", "request": "launch",
"runtimeArgs": [ "name": "Test: Node",
"test", "runtimeExecutable": "meteor",
"--inspect-brk=9229", "runtimeArgs": [
"--port=4040", "test",
"--exclude-archs=web.browser.legacy,web.cordova", "--port=4040",
"--driver-package=meteortesting:mocha", "--exclude-archs=web.browser.legacy,web.cordova",
"--settings=settings.json" "--driver-package=meteortesting:mocha",
], "--settings=settings.json",
"outputCapture": "std", "--raw-logs"
"port": 9229, ],
"timeout": 60000 "env": {
} "TEST_WATCH": "1"
},
"outputCapture": "std",
"timeout": 60000
}
], ],
"compounds": [ "compounds": [
{ {
"name": "Meteor: All", "name": "Meteor: All",
"configurations": ["Meteor: Node", "Meteor: Chrome"] "configurations": ["Meteor: Node", "Meteor: Chrome"]
} }
] ]
} }