- 
                Notifications
    You must be signed in to change notification settings 
- Fork 77
DebugConsoleView
        Jan Richter edited this page Jun 18, 2021 
        ·
        5 revisions
      
    Page object needs extending, currently minimal support.
import { BottomBarPanel, DebugConsoleView } from 'vscode-extension-tester';
...
const debugView = await new BottomBarPanel().openDebugConsoleView();// get all text as string
const text = await debugView.getText();
// clear the text
await debugView.clearText();// type an expression
await debugView.setExpression('expression');
// evaluate an existing expression
await debugView.evaluateExpression();
// type and evaluate an expression
await debugView.evaluateExpression('expression');
// get a handle for content assist
const assist = await debugView.getContentAssist();