Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP XDebug disable breaking on each request

I'm writing a webapplication that uses JS and PHP. Each time I refresh I get about 5 ajax calls to my php script. This is getting quite annoying using XDebug since it breaks on each of those request (without a breakpoint placed).

I thought this was a common problem but I can't seem to find anyting about it. Does anyone know how to disable breaking on each request?

EDIT: I'm using Wamp and Netbeans 7.0

  • Rob
like image 638
Rob Avatar asked Aug 16 '11 14:08

Rob


1 Answers

It's the IDE the one that's stopping. In NetBeans, go to Tool-> Options-> PHP-> Debugging and uncheck Stop at first line.

Screenshot from NetBeans 8.0

(In earlier NetBeans versions the option was under Tool-> Options-> PHP-> General)

like image 139
Álvaro González Avatar answered Sep 20 '22 00:09

Álvaro González