The Browser Console allows you to see console.log statements from the browser in the editor.
Usage:
- Start the development server.
- Set the port to confugure
browserConsole.port - Launch the virtual browser
- with the command
BrowserConsole: Start - or via Status bar panel
BConsole>BrowserConsole: Start
- with the command
- Open the
Browser Consoleview in the Menu panel
Configuration browserConsole.routes, for example:
{
"browserConsole.routes": [
{
"route": "/",
"events": []
},
{
"route": "/movie-page",
"events": []
}
]
}Configuration browserConsole.routes, for example:
{
"browserConsole.routes": [
{
"route": "/",
"events": ["click 'button.click-me' 1000"]
}
]
}This configuration dispatches index page click event on html elements button.click-me after page load and timeout of 1000ms. document.querySelectorAll used for searching.


