Files

117 lines
3.2 KiB
JSON

{
// Use IntelliSense to learn about possible 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": "attach",
"name": "Debug already-running process",
"pid": "${command:pickMyProcess}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'galaxy-oss'",
"cargo": {
"args": ["build", "--bin=galaxy-oss"],
"filter": {
"name": "galaxy-oss",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug macOS Galaxy OSS executable",
"preLaunchTask": "build_galaxyoss",
"program": "${workspaceFolder}/target/debug/bundle/osx/Galaxy.app/Contents/MacOS/galaxy-oss",
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'galaxy-oss' with fast_dev",
"cargo": {
"args": ["build", "--bin=galaxy-oss", "--features=fast_dev"],
"filter": {
"name": "galaxy-oss",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug macOS Galaxy OSS executable with fast_dev",
"env": {
"RUST_BACKTRACE": "1"
},
"preLaunchTask": "build_galaxyoss_fastdev",
"program": "${workspaceFolder}/target/debug/bundle/osx/Galaxy.app/Contents/MacOS/galaxy-oss",
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'galaxy-oss'",
"cargo": {
"args": ["test", "--no-run", "--bin=galaxy-oss", "--package=galaxy"],
"filter": {
"name": "galaxy-oss",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug integration tests in executable 'integration'",
"cargo": {
"args": ["build", "--bin=integration", "--package=integration"],
"env": {
"WARPUI_USE_REAL_DISPLAY_IN_INTEGRATION_TESTS": "1"
},
"filter": {
"name": "integration",
"kind": "bin"
}
},
"args": ["test_waterfall_input"],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'warpui'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=warpui"],
"filter": {
"name": "warpui",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
}
]
}