Skip to content

Commit 9dfb2c6

Browse files
authored
Fix 'Build and Debug Active File' race condition with EngineLogs (#6304)
* Fix 'Build and Debug Active File' race condition with EngineLogs If users use 'Build and Debug Active File' with "engineLogging", the resolveDebugConfigurations will quickly switch to the output window and `${fileBasenameNoExtension}` will resolve to something similar to `./extension-output-#5`. This may be a bug with VS Code determining the output window to be a file, but this will unblock users who need to enable engine logging for this scenario.
1 parent 20759af commit 9dfb2c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Extension/src/Debugger/configurationProvider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider {
274274
const outputChannel: logger.Logger = logger.getOutputChannelLogger();
275275
outputChannel.appendLine(localize("debugger.launchConfig", "Launch configuration:"));
276276
outputChannel.appendLine(JSON.stringify(config, undefined, 2));
277-
logger.showOutputChannel();
277+
// TODO: Enable when https://github.com/microsoft/vscode/issues/108619 is resolved.
278+
// logger.showOutputChannel();
278279
}
279280

280281
return config;

0 commit comments

Comments
 (0)