Skipped Path for MAMP PHPMyAdmin not working

Hey,

I have XDebug setup with MAMP on Mac. When listening for debug connections it does it every single PHP request meaning the localhost:8888/phpMyAdmin page can't load, it hangs.

When I turn off listening for debug connections I can load the localhost:8888/phpMyAdmin. I don't want to have to do that each time I check the database in phpMyAdmin.

I added the MAMP folder /Applications/MAMP/bin/phpMyAdmin to the debug skipped paths but it doesn't seem to exclude it. Any ideas?

0
9 comments

Do you have "xdebug.remote_autostart=1" in php.ini? 

0

Hey thanks for responding. I do have xdebug.remote_autostart enabled.

0
Avatar
Vladimir Luchansky

Please disable it.

Also check if Languages & PHP | Debug > Break at first line in PHP scripts is also disabled.

0

I disabled it and I have break at first line disabled as well. Now phpMyAdmin loads when PHPStorm is running but I am now having trouble debugging PHP scrips from PHPStorm. It says localhost refused to connect in Chrome when I debug an HTML page that triggers a PHP script.

I am selecting the HTML file in PHPStorm and clicking debug. The file is local but is also pushed to the htdocs folder of my local MAMP server which is what the debugger should be working with. Under configurations for JS debug it has the URL of the file. How do I get the debugger to notice when the PHP script has been activated?

How should I be setting up projects for PHP debugging now?

0

So I have done that as well. I'm using the Chrome extension and have found that even when I try to disable it it still hooks up in the browser. I found that turning off the setting to force break at first line has helped. It still doesn't seem to listen to skipped paths though.

0

It still doesn't seem to listen to skipped paths though.

Could you please clarify that? 

> It says localhost refused to connect in Chrome when I debug an HTML page that triggers a PHP script.

Does this issue no longer occur? 

0

Hey Dmitry,

Have you had any luck figuring out your debug issue?

I have a somewhat similar setup working correctly and am willing to help if I can.

0

Didn't hear anything from OP since then. 

0

Please sign in to leave a comment.