社区讨论V2EX 技术
请问各位 vscode 的 rust 调试到底是怎么配置的,为啥我 rust 打断点一直卡住转圈不显示变量值
如题,launch.json 如下: { "version": "0.2.0", "configurations": [ { "name": "Debug backend", "type": "lldb", "request": "launch", "cargo": { "args": [ "build", "--manifest-path", "${workspaceFolder}/backend/Cargo.toml" ], "filter": { "name": "backend", "kind": "bi…
内容摘要
如题,launch.json 如下:
{ "version": "0.2.0", "configurations": [ { "name": "Debug backend", "type": "lldb", "request": "launch", "cargo": { "args": [ "build", "--manifest-path", "${workspaceFolder}/backend/Cargo.toml" ], "filter": { "name": "backend", "kind": "bin" } }, "cwd": "${workspaceFolder}/backend", "env": { "RUST_BACKTRACE": "1" }, "args": [], "sourceLanguages": [ "rust" ] } ] }
资讯来源
V2EX