aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/debug.ts
diff options
context:
space:
mode:
authorvsrs <[email protected]>2020-07-02 19:33:26 +0100
committervsrs <[email protected]>2020-07-03 12:23:51 +0100
commit271abb7bc43f11c9b9e9c1353b162d9d267b1d21 (patch)
tree5bf0cbdcbfa09535dca9db7cc02cbc4d6153889a /editors/code/src/debug.ts
parent7b79d24ad5b251c0806a07aa7769e824f3c37fec (diff)
Add tests
Diffstat (limited to 'editors/code/src/debug.ts')
-rw-r--r--editors/code/src/debug.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index 525d26923..bd92c5b6d 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -93,7 +93,7 @@ async function getDebugConfiguration(ctx: Ctx, runnable: ra.Runnable): Promise<v
93 } 93 }
94 94
95 const executable = await getDebugExecutable(runnable); 95 const executable = await getDebugExecutable(runnable);
96 const env = prepareEnv(runnable, ctx.config); 96 const env = prepareEnv(runnable, ctx.config.runnableEnv);
97 const debugConfig = knownEngines[debugEngine.id](runnable, simplifyPath(executable), env, debugOptions.sourceFileMap); 97 const debugConfig = knownEngines[debugEngine.id](runnable, simplifyPath(executable), env, debugOptions.sourceFileMap);
98 if (debugConfig.type in debugOptions.engineSettings) { 98 if (debugConfig.type in debugOptions.engineSettings) {
99 const settingsMap = (debugOptions.engineSettings as any)[debugConfig.type]; 99 const settingsMap = (debugOptions.engineSettings as any)[debugConfig.type];