-
Notifications
You must be signed in to change notification settings - Fork 67
DebugView
github-actions[bot] edited this page May 16, 2024
·
3 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();