Add tests

This commit is contained in:
vsrs 2020-07-02 21:33:26 +03:00
parent 7b79d24ad5
commit 271abb7bc4
4 changed files with 128 additions and 10 deletions

View file

@ -93,7 +93,7 @@ async function getDebugConfiguration(ctx: Ctx, runnable: ra.Runnable): Promise<v
}
const executable = await getDebugExecutable(runnable);
const env = prepareEnv(runnable, ctx.config);
const env = prepareEnv(runnable, ctx.config.runnableEnv);
const debugConfig = knownEngines[debugEngine.id](runnable, simplifyPath(executable), env, debugOptions.sourceFileMap);
if (debugConfig.type in debugOptions.engineSettings) {
const settingsMap = (debugOptions.engineSettings as any)[debugConfig.type];