Files
warp/.vscode/launch.json
2026-04-28 08:43:33 -05:00

152 lines
4.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 'warp'",
"cargo": {
"args": ["build", "--bin=warp"],
"filter": {
"name": "warp",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug MacOS executable",
"preLaunchTask": "build_warplocal",
"program": "${workspaceFolder}/target/debug/bundle/osx/WarpLocal.app/Contents/MacOS/warp",
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'warp' with fast_dev",
"cargo": {
"args": ["build", "--bin=warp", "--features=fast_dev"],
"filter": {
"name": "warp",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'warp' with with_local_server",
"cargo": {
"args": ["build", "--bin=warp", "--features=with_local_server"],
"filter": {
"name": "warp",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug MacOS executable local session sharing server",
"preLaunchTask": "build_warplocal_localsessionsharing",
"program": "${workspaceFolder}/target/debug/bundle/osx/WarpLocal.app/Contents/MacOS/warp",
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug MacOS executable with fast_dev",
"env": {
"RUST_BACKTRACE": "1"
},
"preLaunchTask": "build_warplocal_fastdev",
"program": "${workspaceFolder}/target/debug/bundle/osx/WarpLocal.app/Contents/MacOS/warp",
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug MacOS executable with fast_dev + local session sharing server",
"preLaunchTask": "build_warplocal_fastdev_localsessionsharing",
"program": "${workspaceFolder}/target/debug/bundle/osx/WarpLocal.app/Contents/MacOS/warp",
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'warp'",
"cargo": {
"args": ["test", "--no-run", "--bin=warp", "--package=warp"],
"filter": {
"name": "warp",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug integration tests in executable 'integration'",
"cargo": {
"args": ["build", "--bin=integration", "--package=warp"],
"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"]
}
]
}