PHP Conference Japan 2021ã§ã®çºè¡¨è³æã§ã https://fortee.jp/phpcon-2021/proposal/3ed8a69b-8618-4644-9a8c-655505078743
Fusicã¨ã³ã¸ãã¢ã«ããæè¡ããã°
ãã®è¨äºã¯ãVSCode + Xdebug + Laravel Homestead ã«ããã¦ããªã¢ã¼ãç°å¢ã«ããã¦ã¹ãããå®è¡ã§Webãªã¯ã¨ã¹ãã®ãããã°ããããæ¹ã§ãã ãã§ã«Homesteadã®ç°å¢æ§ç¯ãè¡ã£ã¦ããåæã§èª¬æãã¾ãã ãªãã¨ãªãã ãã©ãWebç³»ã®äººã£ã¦ã¹ãããå®è¡ããã¿ã¤ãã®ãããã°ããã£ã¦ã人å°ãªãå°è±¡ã§ãã(èªåã®å¨ãã ãï¼) echoãddé¢æ°çã§ãããã°ãããã¨ãå¯è½ã ãã©ããã®ããæ¹ã ã¨å¤æ°ã®å¤ã®é·ç§»ãªã©ã確èªãããããªãã®ã§ä¾¿å©ã§ãã VSCodeã¨ãã©ã¦ã¶ã®æ¡å¼µæ©è½ãè¨å®ããã ãã§ã§ããã®ã§ãéçºå¹ççéã«ä¸ãã¦è¡ãã¾ããããðª è¿½è¨ [PHP] Xdebug ã®ãªã¢ã¼ããããã°ãç解ãã¦ãã¾ããï¼ - Qiita ãã®è¨äºã®èª¬æããã¡ããã¡ãããããããã®ã§ä¸åº¦ç®ãéãã¨ããã¨æãã¾ãã ç°å¢ macOS Catalina 10.15.2 Larave
PhpStorm ãã Docker for Mac ã® Docker ã³ã³ããå 㧠PhpUnit ã®ãã¹ãå®è¡ã Remote Debug ãè¡ãããã®è¨å®ã§ãã ä¸è¨ãã¼ã¸ã§ã³ã«ã¦æ§ç¯ãè¡ãã¾ããã PhpStorm 2017.2.4 Docker for Mac 17.09.0-ce-mac35 PHP 7.1ï¼ php:7.1-apache ãã¼ã¹ ï¼ Xdebug 2.5 ãµã³ãã«ããã¸ã§ã¯ãã®åå¾ ãµã³ãã«ããã¸ã§ã¯ããç¨æããã®ã§ããã®ããã¸ã§ã¯ãããã¼ã¹ã«è¨å®ãè¡ãã¾ãããã®ããã¸ã§ã¯ãã«ã¯ãåæç¶æ ã® Laravel ã¢ããªã±ã¼ã·ã§ã³ï¼5.5ï¼ãå«ã¾ãã¦ãã¾ãã github.com git 㧠clone ãã¦ãmake ãå®è¡ãã㨠composer install 㨠docker-compose up ãå®è¡ããã¾ãããã©ã¦ã¶ã§ã http://localhos
Home > Laravel | PHP | PhpStorm | Vagrant > PhpStorm ãã Vagrant VM ã® PHP ã¢ããªã±ã¼ã·ã§ã³ããªã¢ã¼ããããã°ããï¼Web & CLIï¼ PhpStorm ãã Vagrant ã§æ§ç¯ãã VM ã® PHP ã¢ããªã±ã¼ã·ã§ã³ããªã¢ã¼ããããã°ããæ¹æ³ã§ããWeb ã¢ããªã±ã¼ã·ã§ã³ã ãã§ãªããCLI ã¢ããªã±ã¼ã·ã§ã³ã§ããªã¢ã¼ããããã°ã§ããããã«è¨å®ãã¦ããã¾ãã VM ã¹ãã㯠192.168.33.41 ã private network ã§è¨å® PHP + Xdebug ãã¤ã³ã¹ãã¼ã«æ¸ã¿ ãã¹ã㨠VM ã¯ãsynced folder ã§ãã£ã¬ã¯ããªãå ±æï¼/path/to/src -> /shareï¼ 0. Xdebug ã«ãããªã¢ã¼ããããã°ã®ä»çµã¿ ãªã¢ã¼ããããã°ãè¨å®ããåã« PhpStorm 㨠Xd
æè¿ãEclipseããPHPStormã«ä¹ãæãã¾ããã ã§ãPHPStorm + Xdebugã®ãªã¢ã¼ããããã°ãè¨å®ãã¦ã¿ãã®ã§ãã¡ã¢çã«ã php-fpmã¯ããã©ã«ãã9000ãã¼ãã§ãXdebugã¨ã«ãã£ã¦ãã¾ãã¾ãã ãã®ããããèæ ®ããè¨å®ã§ãã Webãµã¼ãã¼å´ã®è¨å® remoteãããã°ä»¥å¤ã®è¨å®ãæ··ãã£ã¦ãã¾ãã # vim /etc/php.ini zend_extension="/usr/lib/php/modules/xdebug.so";xdebug.soã®ãã£ã¬ã¯ããªã«é©å®ä¿®æ£ xdebug.collect_vars=on xdebug.collect_params=4 xdebug.dump_globals=on xdebug.dump.GET=* xdebug.dump.POST=* xdebug.show_local_vars=on xdebug.rem
Xdebug ã¨ã¯ï¼ xdebug 㯠PHP ã®ã³ã¢éçºè ã§ãã Derick Rethans æ°ãéçºãã¦ãããPHP ã®ãããã°ç¨ã¨ã¯ã¹ãã³ã·ã§ã³ã§ãã å ¸åçãªãããã°ä½æ¥ãè£å©ãã以å¤ã«ããæ§ã ãªæ¡å¼µæ©è½ãå®è£ ããã¦ãã¾ãã éç¨ç°å¢ä»¥å¤ã§ã¯å¿ ãã¤ã³ã¹ãã¼ã«ãã¦ããã¨è¯ãã§ãã Xdebug ã®å ¥ææ¹æ³ Xdebug ã®ãã¦ã³ãã¼ããã¼ã¸ http://www.xdebug.org/download.php ãã®è³æã§ã¯ Windows ç°å¢ã¸ã®ã¤ã³ã¹ãã¼ã«ã説æãã¾ãã Windows ç¨ã«ã¯ãã¤ã㪠(dll) ããã¦ã³ãã¼ãå¯è½ã§ãããXdebug ã®ãã¼ã¸ã§ã³ã¯ç¾å¨ããªããã使ãã® PHP ã®ãã¼ã¸ã§ã³ã¨ãã©ãããã©ã¼ã (32bit ã 64bit) ã«åããã¦ãé©åãªãã®ããã¦ã³ãã¼ããã¾ãã PHP 5.2 ã 32bit ç°å¢ã§å©ç¨ãã¦ããå ´å㯠"5.2 VC6
Windowsã¯ã©ã¤ã¢ã³ãããLinuxãµã¼ãã¼ã®PHPã¦ã§ããã¼ã¸ããªã¢ã¼ããããã°ããè¨å®ã®ã¡ã¢ã§ãã Windows(XP SP2)ã«ã¯ãEclipseã®PHPéçºç¨ãã©ã°ã¤ã³ãPDTããã¤ã³ã¹ãã¼ã«ãã¾ãã ãPDTãã¯ãXdebugã¯ã©ã¤ã¢ã³ãã«ãªãã¾ãã Xdebugã¯ãXdebugã¤ã³ã¹ãã¼ã«ã¡ã¢ã®ããã«ã¤ã³ã¹ãã¼ã«æ¸ã¿ã§ãã PDTã¤ã³ã¹ãã¼ã« PDTã¯ãPDT ProjectãããPDT All-in-Oneãããã±ã¼ã¸ããã¦ã³ãã¼ããã¾ããã (ãã¦ã³ãã¼ããããã¡ã¤ã«ã¯ãpdt-all-in-one-S20071213_M1-win32.zipã§ãã) ã¤ã³ã¹ãã¼ã«ã¯ãzipãã¡ã¤ã«ãé©å½ãªãã©ã«ãã«è§£åããã ãã§OKã®ããã§ãã (JVM(Java virtual machine)ã¯å¿ è¦) ãµã¼ãã¼ã®è¨å® ãããã°ãããã¡ã¤ã«ã¯ã次ã®ãããªãã¹ã«ãããã®ã¨ãã¾
by 赤ããã Published 9 æ 21st, 2007 in PHP, cakephp, eclipse, éçºç°å¢ | (31) (0) (4) (0) Total: 35 ããã«ã¡ã¯ãakai-hitoã§ãã PDTãæ´ãã¦ããã¼ã¸ã§ã³1.0ã«ãªã£ãã®ã§ãããã§ç´¹ä»ãã¾ãã PDTã¨ã¯ãEclipse PHP Development Toolsã®ç¥ã§ãEclipseä¸ã§PHPã®çµ±åéçºç°å¢ãå©ç¨ã§ããããã¸ã§ã¯ãã§ãã ä¼¼ããããªããã¸ã§ã¯ãã¨ãã¦ã¯ãPHPeclipseçãããã¾ãã ãCakePHP ã®ããããé£ã¹æ¹ãããã®PDT(Eclipse)+xdebugã¨ããã¨ã³ããªã¼ã«ããã¨ãZendDebuggerã ã¨CakePHPã§ãããã°ã§ããªãï¼mod_rewriteã使ããªãï¼ãããªã®ã§ã CakePHPã§ãããã°ããããã®ã§ããããã¬ã«ã¯Xdebugã
ãã ãéä¸ã§æ¢ãã¦ãèªåã§ã»ããããï¼ã¤ããï¼å¤ãæ¬å½ã«ã»ããããã¦ãããã確èªãããã¨ãã欲æ±ãæºããã¦ã¯ããã¾ããã ããã§Eclipseï¼PDT+Xdebugã«ãããããã°ã§ãã Eclipseï¼PDT+Xdebugã®ãããã° ï¼ï¼ãã¬ã¼ã¯ãã¤ã³ãã®è¨å® ãã¬ã¼ã¯ãã¤ã³ããäºãè¨å®ãã¾ãï¼ãã¬ã¼ã¯ãã¤ã³ããè¨å®ããªãã¦ãï¼è¡ã¥ã¤é²ãããã¨ã§ãããã°ã§ãã¾ãããCakePHPã®ãããªãã¬ã¼ã ã¯ã¼ã¯ã§ã¯ãèªåã®æ¸ããã³ã¼ã以å¤ã®å¦çãå¤ããç¾å®çã§ã¯ããã¾ããï¼ãã½ã¼ã¹ã®å³ä½ç½é¨åã§ããã«ã¯ãªãã¯ãããã¨ã§ã ãã¬ã¼ã¯ãã¤ã³ãã®è¨å®âãã¬ã¼ã¯ãã¤ã³ãã®è§£é¤ ãåãæ¿ããã¾ãã ï¼.ãããã°ã®è¨å® å®éã«ãããã°ããããã«ã¯ãè¨å®ãå¿ è¦ã§ãã 次ã®è¨å®ã¯ããããç»é¢ããå§ãããã¨ãæ³å®ãã¦ãã¾ãããCakePHPã§ã¯ãURIã«æå³ãæã£ã¦ããï¼å¦çããã©ã¡ã¼ã¿ï¼ã®ã§ãéä¸ããå§ãããã¨ãå¯
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}