The plugin integrates Buggregator into the JetBrains IDEs, allowing you to debug your code with ease.
Now you don't need to switch to another window or screen to look at dumps and then back to run tests.
Everything is in front of you, and all the shortcuts work.
Go to the Plugin homepage in the JetBrains Marketplace and click the Install to ... button.
To install the plugin from the IDE built-in plugin system, go to IDEA Settings > Plugins > Marketplace > 🔍 Search for "Buggregator" > click Install.
- Download the latest release from the Releases page or from the JetBrains Marketplace.
- Go to IDEA Settings > Plugins > ⚙️ > Install plugin from disk...
- Select the downloaded
.jar
file and click OK.
Important
The IDE might ask you to restart it to apply the changes. After that, you can find the Buggregator button in the top right corner of the IDE window.
By default, when started, the plugin tries to run Trap from the vendor folder using the PHP interpreter set in the project settings. The parameters specified in the plugin settings are passed to Trap.
Note
Therefore:
- You need to have
buggregator/trap
installed in your project. - You can change the PHP interpreter in the plugin settings if needed.
- You can change the path to Trap in the plugin settings.
The plugin provides two channels for receiving information from Trap as separate tabs:
- Web UI — an interactive Buggregator interface that opens in the IDE's built-in browser.
- Terminal — displays information in text form.
Trap opens the Web interface port specified in the settings, which works well with many clients. Click the 🌐 button on the toolbar to open the Web UI in the system browser.
If you use the plugin in multiple running IDEs with the same port settings, both Web UIs will work with the same Trap. Another Trap instance will wait for the port to be free.
Currently, the plugin only works for launching Buggregator Trap from the vendor directory (or any other), but we are working on making it compatible with the Buggregator server application as well.