While you can use any standard IDE to develop components in Bit workspaces, we offer integrations to boost your productivity.
Bit Cloud provides remote, web-based workspaces for effortless component development and collaboration.Sign up for Bit Cloud to start using Cloud Workspaces for free.
The Bit MCP server defaults tovscode
and configurable to:vscode
,cursor
,windsurf
. Configure the MCP server for your IDE:
bit mcp-server setup vscode
Copied
Add the MCP rules for generating adding the agent instructions for using Bit:
bit mcp-server rules vscode
Copied
For lightweight configuration for component consumers, use the--consumer-project
. Learn more on theBit MCP server.
The Bit Visual Studio Code extension enhances your component development experience. Benefit from:
Learn more in theBit VSCode Extension documentation.
For seamless debugging in VS Code, install our official plugin and follow these steps:
To debug your Bit projects in WebStorm (or IntelliJ), create a new Node.js Run/Debug configuration with these settings:
--inspect
to attach the node debuggernode_modules/@teambit/bit/dist/app.js
$Prompt$ --log error
(this will prompt you for the bit command to run, you can replace it with a specific command, likestart
, if you prefer)Now you can run the configuration with Alt+Shift+F10, and it will prompt you for the bit command to run.You can also set a default command in the configuration, so you won't need to enter it every time.
When runningbit start
orbit run
you can debug components by using Ctrl+Shift / ⌘⇧ and clicking on the URL printed in the terminal (localhost:3000).This will open a new tab in your browser with the debugger attached to it. Just add a breakpoint in your code by clicking on the line number and refresh the page.