Skip to content

DebugView

github-actions[bot] edited this page May 16, 2024 · 3 revisions

debug view

Lookup

// open the view using the icon in the view container
const btn = await new ActivityBar().getViewControl("Run");
const debugView = (await btn.openView()) as DebugView;

Launch Configurations

// get title of current launch configuration
const config = await debugView.getLaunchConfiguration();
// get titles of all available laynch configurations
const configs = await debugView.getLaunchConfigurations();
// select launch configuration by title
await debugConfiguration.selectLaunchConfiguration("Test Launch");

Launch

// start selected launch configuration
await debugView.start();