diff options
| author | Hannes De Valkeneer <hannes@de-valkeneer.be> | 2020-03-12 21:00:40 +0100 |
|---|---|---|
| committer | Hannes De Valkeneer <hannes@de-valkeneer.be> | 2020-03-12 21:00:40 +0100 |
| commit | a034257e5ed5a3758e1ea2f72b3b905d1b2b320a (patch) | |
| tree | 6f634b1bb350e30d0673e68381536dcf3abe3f4a /editors/code | |
| parent | 60b154ff92e0d4625b551abe7ab7c59e2c9ca47b (diff) | |
| download | rust-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.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 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); }; } |
