Since it took me a day to get it to work, I will summarize what in the study:
Make sure you change the correct php.ini, XAMPP uses a different version of php.ini and php than the one that was preinstalled on OS X Mavericks.
Define the log file, and if nothing is written to it, you will change the wrong php.ini
In phpstorm, you can check the connection to the server and get an idea if you are working on the correct php.ini or what is still wrong.
You need to change the settings for debugging (it may be worth changing the port to 9001), the server, everything in phpstorm settings and configure.
You have to set the php language level and interpreter (use the one that uses your mysql php apq configuration), for example. / Application / XAMPP / xamppfiles / bin, click ... to see Php and if a debugger is connected. You may need to use a different version of xdebug.
In servers, you must define Host as
http:
usually with port 80 and Xdebug. It is important to check the remote environment.
In the debug section, you can set the Debug port, if you change it to 9001, change it and in php.ini, select Can Accept external Connections.
If you did not enable the "Start listening to PHP Debug Connection" function, you have no hope of making it work (the icon in the upper right corner or in the "Run" menu).
In Edit Configurations ... you must define a PHP web application in order to be able to use Debug in the Run menu.
It took me a day to make it work. The main problems associated with editing the wrong php.ini (do not forget to restart apache after editing) and the fact that xdebug did not work with the php version.
As you can see, I tried many options in my php.ini and ended up using the xdebug version found in my mamp directory:
;zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so" zend_extension="/Applications/MAMP/bin/php/php5.5.10/lib/php/extensions/no-debug-non- zts-20121212/xdebug.so" [xdebug] ;xdebug.var_display_max_children = 999 ;xdebug.var_display_max_data = 99999 ;xdebug.var_display_max_depth = 100 ;xdebug.remote_enable = 1 ;xdebug.remote_port=9001 ;xdebug.profiler_enable=1 xdebug.remote_connect_back=0 ;xdebug.remote_handler=dbgp ;xdebug.remote_host=localhost ;xdebug.profiler_output_dir=/Users/mypath/tmp xdebug.remote_log=/Users/mypath/xdebug.log ;xdebug.remote_mode=req xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9001
I wish you faster success than me.