- Install asdf
- Run
asdf install(if needed, runasdf plugin add NAMEfor any missing plugins) - Run
pnpm install && pnpm build
Open this repository in VS Code and run the Launch VS Code Extension (Desktop, recommended) build/debug task (or run pnpm -C vscode run dev).
See vscode/CONTRIBUTING.md for more information.
As of Sept 2024, the quickest way to iterate on the chat UI is to run the web build:
pnpm -C web dev
By default, this will connect to sourcegraph.com, but you can also run it against a local instance by modifying serverEndpoint in App.tsx
You can emit source maps by setting sourcemap: true in vscode/webviews/vite.config.mts. This helps with setting breakpoints in the webview.