1

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"

1
  • What xdebug version you have? Commented Dec 5, 2013 at 8:25

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

I was running 2.2.0. I found this post: stackoverflow.com/questions/13912646/… and ran through the same steps. I built the xdebug.so file and moved it into MAMP. After restarting apache phpinfo() no longer showed xdebug as installed. If I moved the old xdebug.so file back and restarted apache xdebug was enabled again.
I have created a new question about the issue mentioned in my last comment: stackoverflow.com/questions/20415789/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.