Drop all the debugging tasks

There are too many of them, and they no longer match the set of crates
we have.

This really should be handled in a different way, by having out
"rust-analyzer: Run" generate the appropriate lldb config on the fly.
This commit is contained in:
Aleksey Kladov 2019-12-29 18:02:13 +01:00
parent 936fc522ba
commit b63fbae482

309
.vscode/launch.json vendored
View file

@ -27,314 +27,5 @@
"pid": "${command:pickMyProcess}",
"sourceLanguages": ["rust"]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'gen_lsp_server'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=gen_lsp_server"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'ra_analysis'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=ra_analysis"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug test 'tests'",
"cargo": {
"args": ["build", "--test=tests", "--package=ra_analysis"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in test 'tests'",
"cargo": {
"args": ["test", "--no-run", "--test=tests", "--package=ra_analysis"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'ra_hir'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=ra_hir"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'ra_db'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=ra_db"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'ra_editor'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=ra_editor"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'ra_syntax'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=ra_syntax"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug test 'test'",
"cargo": {
"args": ["build", "--test=test", "--package=ra_syntax"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in test 'test'",
"cargo": {
"args": ["test", "--no-run", "--test=test", "--package=ra_syntax"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'test_utils'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=test_utils"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'ra_cli'",
"cargo": {
"args": ["build", "--bin=ra_cli", "--package=ra_cli"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'ra_cli'",
"cargo": {
"args": ["test", "--no-run", "--bin=ra_cli", "--package=ra_cli"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'tools'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=tools"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'tools'",
"cargo": {
"args": ["build", "--bin=tools", "--package=tools"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'tools'",
"cargo": {
"args": ["test", "--no-run", "--bin=tools", "--package=tools"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug test 'cli'",
"cargo": {
"args": ["build", "--test=cli", "--package=tools"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in test 'cli'",
"cargo": {
"args": ["test", "--no-run", "--test=cli", "--package=tools"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'ra_lsp_server'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=ra_lsp_server"],
"filter": {
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'ra_lsp_server'",
"cargo": {
"args": ["build", "--bin=ra_lsp_server", "--package=ra_lsp_server"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'ra_lsp_server'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=ra_lsp_server",
"--package=ra_lsp_server"
],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug test 'heavy_tests'",
"cargo": {
"args": ["build", "--test=heavy_tests", "--package=ra_lsp_server"],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in test 'heavy_tests'",
"cargo": {
"args": [
"test",
"--no-run",
"--test=heavy_tests",
"--package=ra_lsp_server"
],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}