Skip to content

DebugView

github-actions[bot] edited this page Apr 23, 2024 · 4 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();
Clone this wiki locally