about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-04-02 12:56:14 +0200
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-04-02 12:56:14 +0200
commit7a4ebd2c8dfee8ca15dab7ba053a6521840aa5e3 (patch)
tree0dbb6b8c37601a7d0c617a1d88a342b8f4c97a32 /editors/code/src
parente21bf1b2b91041be601d22c3415daf9bcb7246a8 (diff)
downloadrust-7a4ebd2c8dfee8ca15dab7ba053a6521840aa5e3.tar.gz
rust-7a4ebd2c8dfee8ca15dab7ba053a6521840aa5e3.zip
Remove vscode_lldb setting
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/commands/runnables.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts
index 357155163d7..2635a144086 100644
--- a/editors/code/src/commands/runnables.ts
+++ b/editors/code/src/commands/runnables.ts
@@ -66,6 +66,10 @@ export function debugSingle(ctx: Ctx): Cmd {
     return async (config: ra.Runnable) => {
         const editor = ctx.activeRustEditor;
         if (!editor) return;
+        if (!vscode.extensions.getExtension("vadimcn.vscode-lldb")) {
+            vscode.window.showErrorMessage("Install `vadimcn.vscode-lldb` extension for debugging");
+            return;
+        }
 
         const debugConfig = {
             type: "lldb",