mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Update VSCode debugging configuration
This commit is contained in:
parent
718c1a393d
commit
ec5d0d00f5
1 changed files with 48 additions and 36 deletions
84
.vscode/launch.json
vendored
84
.vscode/launch.json
vendored
|
@ -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"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue