Debugging a Laravel application using Zend Studio breakpoints

141 Views Asked by At

I want to use server breakpoints in Zend Studio to debug a Laravel application. However I am unable to find any documentation involving how to set up Zend Studio breakpoints to work with a Laravel application.

The documentation for Zend Studio has information on utilizing breakpoints in the debug process, however this is only to debug individual PHP classes and not applications that utilize a PHP framework.

How can I integrate Zend Studio server breakpoints into my debugging workflow for a Laravel application?

1

There are 1 best solutions below

2
Marwane Ezzaze On

For laravel theres couple tools that can help you debug your code, such as :

Dump and Die

you can use dd() to debug your code, its a feature that comes with laravel

DebugBar

https://github.com/barryvdh/laravel-debugbar

With this package, you can easily track your application. You can inspect queries, messages, requests, routes, views and so on.