about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorHannes De Valkeneer <hannes@de-valkeneer.be>2020-03-12 21:00:40 +0100
committerHannes De Valkeneer <hannes@de-valkeneer.be>2020-03-12 21:00:40 +0100
commita034257e5ed5a3758e1ea2f72b3b905d1b2b320a (patch)
tree6f634b1bb350e30d0673e68381536dcf3abe3f4a /editors/code
parent60b154ff92e0d4625b551abe7ab7c59e2c9ca47b (diff)
downloadrust-a034257e5ed5a3758e1ea2f72b3b905d1b2b320a.tar.gz
rust-a034257e5ed5a3758e1ea2f72b3b905d1b2b320a.zip
fixup! feat: add debug code lens
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/commands/runnables.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts
index faa92799c10..51cfb37d543 100644
--- a/editors/code/src/commands/runnables.ts
+++ b/editors/code/src/commands/runnables.ts
@@ -3,7 +3,6 @@ import * as lc from 'vscode-languageclient';
 import * as ra from '../rust-analyzer-api';
 
 import { Ctx, Cmd } from '../ctx';
-import { debug } from 'vscode';
 
 export function run(ctx: Ctx): Cmd {
     let prevRunnable: RunnableQuickPick | undefined;
@@ -84,7 +83,7 @@ export function debugSingle(ctx: Ctx): Cmd {
             args: config.extraArgs,
             cwd: config.cwd
         };
-        return debug.startDebugging(undefined, debugConfig);
+        return vscode.debug.startDebugging(undefined, debugConfig);
     };
 }