-
Notifications
You must be signed in to change notification settings - Fork 78
DebugView
Jan Richter edited this page Jun 18, 2021
·
4 revisions
// open the view using the icon in the view container
const btn = await new ActivityBar().getViewControl('Run');
const debugView = (await btn.openView()) as DebugView;
// 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');
// start selected launch configuration
await debugView.start();