realm-js/.vscode/launch.json

72 lines
2.3 KiB
JSON
Raw Permalink Normal View History

{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug LLDB",
"program": "node",
"cwd": "${workspaceRoot}/tests",
"args": ["--debug-brk=5858", "${workspaceRoot}/tests/node_modules/jasmine/bin/jasmine.js", "spec/unit_tests.js"],
"stopOnEntry": true
},
{
"type": "lldb",
"request": "launch",
"name": "Debug LLDB only",
"program": "node",
"cwd": "${workspaceRoot}/tests",
"args": ["${workspaceRoot}/tests/node_modules/jasmine/bin/jasmine.js", "spec/unit_tests.js"],
"stopOnEntry": false
},
{
"type": "node",
"request": "launch",
"name": "Debug Node Unit Tests (rebuild)",
"preLaunchTask": "rebuild-node-tests",
"cwd": "${workspaceRoot}/tests",
"program": "${workspaceRoot}/tests/node_modules/jasmine/bin/jasmine.js",
"args": [
"spec/unit_tests.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Debug Node Unit Tests",
"cwd": "${workspaceRoot}/tests",
"program": "${workspaceRoot}/tests/node_modules/jasmine/bin/jasmine.js",
"args": [
"spec/unit_tests.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Download & Start Server",
"cwd": "${workspaceRoot}/scripts"
},
{
"type": "node",
"request": "attach",
"name": "Attach to Port",
2017-09-01 14:47:07 +00:00
"protocol": "legacy",
"address": "localhost",
"port": 5858
}
],
"compounds": [
{
"name": "Rebuild + Start Server + Debug",
"configurations": ["Download & Start Server", "Debug Node Unit Tests (rebuild)"]
},
{
"name": "Debug LLDB + NodeJS",
"configurations": ["Debug LLDB", "Attach to Port"]
}
]
}