Domanda

I have configured xdebug in MAMP:

zend_extension="/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.max_nesting_level=500

I have configured a PHP REMOTE DEBUG in phpstorm, setup a server and placed a few breakpoints

If I place the breakpoint in app.php It will stop execution and load the debugger.

If I place the breakpoint in a controller it stops the execution and loads the debugger with info, blinks, and then says disconnected and all of the debug info is gone.

It also does this if I stop on a breakpoint inside of app.php and then click play. It will go to the next breakpoint inside the controller and then "disconnect"

È stato utile?

Soluzione

There is known issues with xdebug 2.2.0 on MAMP with disconnections you have mentioned, you need to upgrade to never version >= 2.2.1.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top