localhost에 autoset으로 Apache, php를 사용할 경우,

php.ini 에 아래에 있는 코드를 넣어주면 된다. 


다른 사이트 찾아가면서 해볼건 다 해봤는데 한동안 고생을 했다.

결국, 아래 설정에서 몇개를 주석처리를 하니 잘 된다.



* php.ini


zend_extension = e:\AutoSet9\Server\bin\ext\php_xdebug-2.5.4-5.6-vc11-x86_64.dll


[xdebug]

xdebug.remote_host=127.0.0.1

xdebug.remote_enable = 1

xdebug.remote_handler=dbgp

xdebug.remote_log="c:\log\xdebug.log"


;xdebug.remote_connect_back = 1

;xdebug.remote_port = 9000

;xdebug.max_nesting_level = 250

;xdebug.idekey=sublime.xdebug

;xdebug.remote_autostart =1





* 로그내용


Log opened at 2017-10-30 07:42:47

I: Checking remote connect back address.

I: Checking header 'HTTP_X_FORWARDED_FOR'.

I: Checking header 'REMOTE_ADDR'.

I: Remote address found, connecting to ::1:9000.

E: Time-out connecting to client. :-(

Log closed at 2017-10-30 07:42:47




xdebug만 설치하는데 반나절 소비했다.

잊지말고, 다음엔 빨리 끝내야지...




[추가]

* sublime 프로젝트 파일 설정


{

"folders":

[

{

"path": "ciboard"

}

],

"settings":

{

            "xdebug": {

                "url": "http://localhost:81/ciboard/index.php"

        }

}


}



+ Recent posts