0

I try to debug a laravel 5.6 project in Netbeans 8.2 or Netbeans 11 but xdebug is not recognized : Waiting for connection ... It works with others PHP projects ! Thank's for your help

Dinnerspy
  • 310
  • 1
  • 17
Nicolas Alain
  • 105
  • 11
  • 1
    What steps have you tried to debug the issue? You're going to need some supporting information for people to assist you! – FullStackOfPancakes Jul 07 '19 at 15:51
  • I created a new project with existing code => OK – Nicolas Alain Jul 08 '19 at 07:25
  • I created a new project with existing code => OK, php.ini is correctly configured, When I start debugging the message Waiting for connection is displayed. I tried with a classic PHP application and it works fine ! What's the problem with Laravel ? – Nicolas Alain Jul 08 '19 at 07:31
  • Have you checked out [this answer](https://stackoverflow.com/questions/20277240/netbeans-waiting-for-connection-to-xdebug) ? – FullStackOfPancakes Jul 08 '19 at 17:36
  • Also... what are you trying to debug? Is there something specific that isn't working? Laravel is pretty straight forward with [amazing documentation](https://laravel.com/docs/5.8) – FullStackOfPancakes Jul 08 '19 at 17:37
  • I guess problem is that xdebug by default thinks that apache is on port 80 but laravel builtin web server is on port 8000. So when you start debugging it open http://localhost/[yours_site]/[your_default_index|page_called] whereas it actually http://localhost:8000/[default_page|page_called] – Adeel Raza Azeemi Jun 03 '20 at 08:02

0 Answers0