I'm a newbie PHP programmer now casting an eye at frameworks, and among them Laravel sounds appealing to me as a beginner (somehow unfortunately because I've already invested in literature on Zend 2). However, debugging is important to me and from what I could find on the net, Laravel is hard to debug. I currently use Xdebug in Netbeans on native PHP code and wonder whether Laravel can be debugged in the same or a similar way? When I open a new Netbeans project I can select Symfony 2 or Zend 2, but there seems to be indeed no support for other frameworks like Laravel? If not, is there at least an equivalent debugging tool?

推荐答案

Laravel has its own debugging system.You can use built in dd() function.And there are several packages that can be used to debug laravel projects.Here are some links and hope that it will be helpful for you.

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

http://laravel.io/forum/02-04-2014-package-laravel-debugbar

Thanks

Laravel相关问答推荐

拉威尔望远镜没有显示请求细节

LaravelEloquent 的模型如何将值从控制器内部的函数传递到Render()

无法使用 Dompdf Laravel 9 加载图像

我在 laravel 中插入多个复选框值.我怎样才能做到这一点?

如何使用动态翻译键翻译 Laravel硬编码字符串(还有 1 个错误)..(验证异常类)

前端和管理员分开时未加载laravel 9中间件

Laravel Valet 安装后 Ping test.dev 返回未知主机

FileViewFinder.php 第 137 行中的 Laravel 5 InvalidArgumentException:未找到视图 [.admin]

Laravel:Blade foreach 循环 bootstrap 列

查询构建器中的 Laravel 5 多重 Select ()

需要 Vagrant 环境或目标机器

将 hasOne 模型附加到另一个 Laravel/Eloquent 模型而不指定 id

计算laravel中查询返回的行数

约定表名(带下划线)

控制器外部的 Laravel 访问请求对象

未找到列:1054 未知列 laravel

Laravel:方法[显示]不存在

Laravel 5 new auth:获取当前用户以及如何实现角色?

laravel:如何获取 eloquent 模型的列名?

Laravel:Redis 无法建立连接:[tcp://127.0.0.1:6379]