b63fbae482
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.
32 lines
966 B
JSON
32 lines
966 B
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": [
|
|
{
|
|
"name": "Debug Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}/editors/code",
|
|
"--disable-extensions"
|
|
],
|
|
"env": {
|
|
"__RA_LSP_SERVER_DEBUG": "${workspaceFolder}/target/debug/ra_lsp_server"
|
|
},
|
|
"outFiles": ["${workspaceFolder}/editors/code/bundle/**/*.js"],
|
|
"preLaunchTask": "Build All"
|
|
},
|
|
{
|
|
"name": "Debug Lsp Server",
|
|
"type": "lldb",
|
|
"request": "attach",
|
|
"program": "${workspaceFolder}/target/debug/ra_lsp_server",
|
|
"pid": "${command:pickMyProcess}",
|
|
"sourceLanguages": ["rust"]
|
|
},
|
|
]
|
|
}
|