Debug Workflows and Activities with Buggregator
masterBecause Workflows and Activities run in RoadRunner workers, standard output functions like var_dump, print_r, or echo will not work. Instead, use Buggregator with Trap to view dumps, traces, and logs in a web interface.
Running Buggregator via Docker
docker run --rm -p 8000:8000 -p 1025:1025 -p 9912:9912 -p 9913:9913 ghcr.io/buggregator/server:latestRunning Trap locally
If not using Docker, you can run Trap as a compact server:
./vendor/bin/trap --ui=8000Once set up, use the trap(), tr(), or dump() functions to output data. The Web UI will be available at http://localhost:8000.