PHP XDebug disables splitting for each request

I am writing a web application that uses JS and PHP. Every time I update, I get about 5 ajax calls to my php script. This is pretty annoying to use XDebug, as it breaks down into each of these requests (without a breakpoint).

I thought this was a common problem, but I can not find anything about it. Does anyone know how to disable splitting for each request?

EDIT: I am using Wamp and Netbeans 7.0

  • Rob
+6
source share
3 answers

This is an IDE that stops. In NetBeans, go to Tool-> Options-> PHP-> Debug and uncheck Stop in the first line .

Screenshot from NetBeans 8.0

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

+12
source

From what I remember, xdebug adds something like XDEBUG_SESS_ID=xxxxxxxx to the url when debugging. if so, remove it from the URL.

0
source

Most likely you have several empty src = "" tags or the same. You need to find out what (by checking your apache logs) what requests are made. Xdebug itself does not decide to make requests.

0
source

Source: https://habr.com/ru/post/895157/


All Articles