The best way to debug your PHP application

Dephpugger