Skip to content

DebugView

Jan Richter edited this page Jun 18, 2021 · 4 revisions

debugview

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