diff options
author | Hannes De Valkeneer <[email protected]> | 2020-03-12 20:00:40 +0000 |
---|---|---|
committer | Hannes De Valkeneer <[email protected]> | 2020-03-12 20:00:40 +0000 |
commit | a034257e5ed5a3758e1ea2f72b3b905d1b2b320a (patch) | |
tree | 6f634b1bb350e30d0673e68381536dcf3abe3f4a | |
parent | 60b154ff92e0d4625b551abe7ab7c59e2c9ca47b (diff) |
fixup! feat: add debug code lens
-rw-r--r-- | editors/code/src/commands/runnables.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index faa92799c..51cfb37d5 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'; | |||
3 | import * as ra from '../rust-analyzer-api'; | 3 | import * as ra from '../rust-analyzer-api'; |
4 | 4 | ||
5 | import { Ctx, Cmd } from '../ctx'; | 5 | import { Ctx, Cmd } from '../ctx'; |
6 | import { debug } from 'vscode'; | ||
7 | 6 | ||
8 | export function run(ctx: Ctx): Cmd { | 7 | export function run(ctx: Ctx): Cmd { |
9 | let prevRunnable: RunnableQuickPick | undefined; | 8 | let prevRunnable: RunnableQuickPick | undefined; |
@@ -84,7 +83,7 @@ export function debugSingle(ctx: Ctx): Cmd { | |||
84 | args: config.extraArgs, | 83 | args: config.extraArgs, |
85 | cwd: config.cwd | 84 | cwd: config.cwd |
86 | }; | 85 | }; |
87 | return debug.startDebugging(undefined, debugConfig); | 86 | return vscode.debug.startDebugging(undefined, debugConfig); |
88 | }; | 87 | }; |
89 | } | 88 | } |
90 | 89 | ||