]> Git Repo - pico-vscode.git/blob - src/commands/conditionalDebugging.mts
Fix compile project concurrency
[pico-vscode.git] / src / commands / conditionalDebugging.mts
1 import { Command } from "./command.mjs";
2 import Logger from "../logger.mjs";
3 import { commands } from "vscode";
4
5 /**
6  * Relay command for the default buildin debug select and start command.
7  * Used for conditional enablement in ui.
8  */
9 export default class ConditionalDebuggingCommand extends Command {
10   private _logger: Logger = new Logger("ConditionalDebuggingCommand");
11
12   public static readonly id = "conditionalDebugging";
13
14   constructor() {
15     super(ConditionalDebuggingCommand.id);
16   }
17
18   async execute(): Promise<void> {
19     await commands.executeCommand("workbench.action.debug.selectandstart");
20   }
21 }
This page took 0.024199 seconds and 4 git commands to generate.