국내 php 개발자들 대부분이 디버깅을 안하는걸로 알고 있다.
아직도 editplus를 쓰는곳이 허다하니...
제발 디버깅 하자~~~~~
* php에 xdebug설치
apt-get install php5-xdebug
* 20-xdebug.ini 에 추가
xdebug.remote_enable = 1
php5-fpm 리스타트
* 크롬에서 Xdebug helper 설치
https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc
* phpstorm 에서 가운데 전화기 벌레모양 킨다

브레이크 포인트를 하나 걸어놓고
* 크롬 Xdebug helper의 Debug를 키고 새로고침 한다.
* 처음 접근시에는 accpet 화면 나오는데 그냥 accpet누른다.
* phpstorm에서 잡힌다~

* 잘 쓰삼~
아직도 editplus를 쓰는곳이 허다하니...
제발 디버깅 하자~~~~~
* php에 xdebug설치
apt-get install php5-xdebug
* 20-xdebug.ini 에 추가
xdebug.remote_enable = 1
php5-fpm 리스타트
* 크롬에서 Xdebug helper 설치
https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc
* phpstorm 에서 가운데 전화기 벌레모양 킨다

브레이크 포인트를 하나 걸어놓고
* 크롬 Xdebug helper의 Debug를 키고 새로고침 한다.
* 처음 접근시에는 accpet 화면 나오는데 그냥 accpet누른다.
* phpstorm에서 잡힌다~

* 잘 쓰삼~