_ PHPStorm¤ÈMAMP¤Èxdebug¤ÈLaravel¤Ç¥Ç¥Ð¥Ã¥°
MAMP+xdebug+PHPStorm¤ÇLaravel¥×¥í¥¸¥§¥¯¥È¤ò¥Ç¥Ð¥Ã¥°¼Â¹Ô¤·¤è¤¦¤È¤·¤¿ºÝ¤Ë¤Ï¤Þ¤Ã¤¿¥Ý¥¤¥ó¥È¤Î¥á¥â¡£
- phpinfo()¤Çxdebug¤¬ZEND_EXTENSION¤È¤·¤Æ¥í¡¼¥É¤µ¤ì¤Æ¤¤¤Ê¤¤¤È¸À¤ï¤ì¤ë(XDEBUG NOT LOADED AS ZEND EXTENSION)
php.ini¤ÎÌäÂê¡£MAMP¤Î¥Ç¥Õ¥©¥ë¥È¤«¤é°Ê²¼¤Î¤è¤¦¤Ë½ñ¤´¹¤¨¤ë¡£
Êѹ¹Á°¡§
extension=php_xdebug.dll
Êѹ¹¸å¡§
zend_extension="C:\MAMP\bin\php\php5.6.30\ext\php_xdebug.dll"
- isset($_SERVER['PHP_IDE_CONFIG'])¤¬É¾²Á¤Ç¤¤Ê¤¤¤È¸À¤ï¤ì¤ë(Cannot evaluate expression 'isset($_SERVER['PHP_IDE_CONFIG'])')
¾åµ¤ÈÊ»¤»¤Æphp.ini¤ÎÌäÂê¡£
httpd.conf¤Ë´Ä¶ÊÑ¿ô¤òÀßÄê(SetEnv PHP_IDE_CONFIG "serverName=localhost")¤·¤Æ¤â²þÁ±¤·¤Ê¤¤¡£
c:\mamp\conf\phpX.Y.Z\php.ini
[xdebug]
xdebug.remote_autostart=on
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir=f:\xdebug¡ÊŬÅö¤Ê¥Õ¥©¥ë¥À¡Ë
xdebug.profile_enable_trigger=1
xdebug.trace_enable_trigger=1
xdebug.idekey="PHPSTORM"
xdebug.remote_log="f:\xdebug"¡ÊŬÅö¤Ê¥Õ¥©¥ë¥À¡Ë
- PHPStorm¤Ç¼Â¹Ô¤¹¤ë¤È½èÍý¤Ï»ß¤Þ¤ë¤±¤É¥½¡¼¥¹¤¬É½¼¨¤µ¤ì¤Ê¤¤
phpstorm¤Î¥µ¡¼¥Ð¡¼¤Î¥Þ¥Ã¥Ô¥ó¥°ÀßÄê¤ÎÌäÂê¡£
²¼¿Þ¤Î¤è¤¦¤Ë¥×¥í¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë(¡)¤È¥µ¡¼¥Ð¡¼¾å¤Î¥Õ¥¡¥¤¥ë(¢)¤¬°ìÃפ¹¤ë¤è¤¦¥Õ¥ë¥Ñ¥¹¤Ç»ØÄꤹ¤ë¡£mamp¤Ï¥í¡¼¥«¥ë¤ÇÆ°¤¤¤Æ¤¤¤ë¤Î¤ÇÁ´¤¯Æ±¤¸¥Ñ¥¹¤ò»ØÄꤹ¤ë¡£
- ¤½¤Î¸å¤â²¿¸Î¤«¥Ö¥ì¡¼¥¯¥Ý¥¤¥ó¥È¤Ç»ß¤Þ¤é¤Ê¤¤¤³¤È¤¬¤¢¤ë
OS¤¬°ìÅÙ¥µ¥¹¥Ú¥ó¥É¤¹¤ë¤È¤½¤Î¸å¥µ¡¼¥Ð¡¼¤È¤Î¥³¥Í¥¯¥·¥ç¥ó¤¬¤¦¤Þ¤¯Ä¥¤ì¤Ê¤¤?
MAMP¤«¤éhttp/db¥µ¡¼¥Ð¡¼¤òºÆµ¯Æ°¤·¤¿¤éÉüµ¢¤¹¤ë¤«¤â¡£
¢£»²¹Í¥Ú¡¼¥¸
PhpStorm is not receiving xdebug connections
PhpStorm¤ÇXdebug¤ò»È¤¨¤ë¤è¤¦¤Ë¤·¤è¤¦¡ª