aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorvsrs <[email protected]>2020-04-29 14:52:53 +0100
committervsrs <[email protected]>2020-04-29 14:52:53 +0100
commit73a1947d19b4d3c29aa462e856e3d410d6e1e5dd (patch)
tree5145e449cef6a995014aa80ed7fe477ab78c6b5c /editors/code/src
parent9153e96e88236e2f867dee8f0f291af5cfaf90f4 (diff)
MS C++ tools on linux
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/commands/runnables.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts
index 2238a5a73..9b0780650 100644
--- a/editors/code/src/commands/runnables.ts
+++ b/editors/code/src/commands/runnables.ts
@@ -1,6 +1,7 @@
1import * as vscode from 'vscode'; 1import * as vscode from 'vscode';
2import * as lc from 'vscode-languageclient'; 2import * as lc from 'vscode-languageclient';
3import * as ra from '../rust-analyzer-api'; 3import * as ra from '../rust-analyzer-api';
4import * as os from "os";
4 5
5import { Ctx, Cmd } from '../ctx'; 6import { Ctx, Cmd } from '../ctx';
6import { Cargo } from '../cargo'; 7import { Cargo } from '../cargo';
@@ -82,7 +83,7 @@ async function getCppvsDebugConfig(config: ra.Runnable, sourceFileMap: Record<st
82 let executable = await cargo.executableFromArgs(config.args, config.extraArgs); 83 let executable = await cargo.executableFromArgs(config.args, config.extraArgs);
83 84
84 return { 85 return {
85 type: "cppvsdbg", 86 type: (os.platform() === "win32") ? "cppvsdbg" : 'cppdbg',
86 request: "launch", 87 request: "launch",
87 name: config.label, 88 name: config.label,
88 program: executable, 89 program: executable,