最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

debugging - How to debug an ajax call in Laravel 4? - Stack Overflow

programmeradmin0浏览0评论

On a site created with Laravel 4, when a button is clicked, an Ajax call updates some information, but the call is very slow... SCREENSHOT

How can I do a thorough debug to understand what happens in those 7 seconds on the server?

Old laravel 4 debug does not return information about ajax calls. Is there anything that needs to be activated? DEBUG

On a site created with Laravel 4, when a button is clicked, an Ajax call updates some information, but the call is very slow... SCREENSHOT

How can I do a thorough debug to understand what happens in those 7 seconds on the server?

Old laravel 4 debug does not return information about ajax calls. Is there anything that needs to be activated? DEBUG

Share Improve this question asked Feb 4 at 19:10 Fabrizio Z.Fabrizio Z. 1 2
  • have you had a look at xdebug? xdebug. – Soneye Oluwasina Commented Feb 12 at 14:14
  • Using Laravel 4 in 2025 sounds like a huge risk. It has seen its last release in 2016, and please don't let me ask whether you're using a PHP version that is similarly outdated – Nico Haase Commented Apr 9 at 13:30
Add a comment  | 

1 Answer 1

Reset to default 0

Your debugbar show 361 queries to get data (8 of which duplicated), maybe you can do some optimizations (complex queries, missing database indexes, etc.)

Try to inspect the called code with xdebug or dd().

发布评论

评论列表(0)

  1. 暂无评论