To run the extension in a local browser environment, see https://code.visualstudio.com/api/extension-guides/web-extensions#test-your-web-extension-in-a-browser-using-vscodetestweb
From the vscode directory, run:
npm startTo run from the repo root, you can pass the -w switch to npm:
npm -w vscode startThis will open a Chromium browser hosting the VS Code for Web, with the extension loaded from disk, and serving the samples directory as an open workspace.
To run the integration tests, from the vscode folder, run:
npm testThis will run the integration tests in an instance of VS Code for the Web. See test/runTests.mjs and test/suite/index.ts for more details on how tests are discovered and run.
To run a specific test suite under the debugger:
npm test -- --suite=language-service --waitForDebugger=1234and attach a Chrome debugger (VS Code or Chrome/Edge Dev Tools) on port 1234.