diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index c4dfa7e13..d30673791 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -389,6 +389,28 @@ | |||
389 | "description": "Enable Proc macro support, cargo.loadOutDirsFromCheck must be enabled.", | 389 | "description": "Enable Proc macro support, cargo.loadOutDirsFromCheck must be enabled.", |
390 | "type": "boolean", | 390 | "type": "boolean", |
391 | "default": false | 391 | "default": false |
392 | }, | ||
393 | "rust-analyzer.debug.engine": { | ||
394 | "type": "string", | ||
395 | "enum": [ | ||
396 | "auto", | ||
397 | "vadimcn.vscode-lldb", | ||
398 | "ms-vscode.cpptools" | ||
399 | ], | ||
400 | "default": "auto", | ||
401 | "description": "Preffered debug engine.", | ||
402 | "markdownEnumDescriptions": [ | ||
403 | "First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).", | ||
404 | "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)", | ||
405 | "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)" | ||
406 | ] | ||
407 | }, | ||
408 | "rust-analyzer.debug.sourceFileMap": { | ||
409 | "type": "object", | ||
410 | "description": "Optional source file mappings passed to the debug engine.", | ||
411 | "default": { | ||
412 | "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust" | ||
413 | } | ||
392 | } | 414 | } |
393 | } | 415 | } |
394 | }, | 416 | }, |