code-debug icon indicating copy to clipboard operation
code-debug copied to clipboard

Bugfix

Open HenryRiley0 opened this issue 1 year ago • 0 comments

1.fix implicitly type error of LogMessage 2.fix gdb check error, checkCommand success should not warning "Configured debugger ${dbgCommand} not found"

	protected checkCommand(debuggerName: string): boolean {
		try {
			const command = process.platform === 'win32' ? 'where' : 'command -v';
			execSync(`${command} ${debuggerName}`, { stdio: 'ignore' });
			return true;
		} catch (error) {
			return false;
		}
	}

HenryRiley0 avatar May 31 '24 03:05 HenryRiley0