2011-05-01 6 views
0

PHP 프로젝트에서 X-Debug를 사용하여 프로파일 링하고 싶습니다!
그래서 난 확장은 php.ini 파일에 추가 다운로드 너무X-Debug 설정하기 - PHP

xdebug.profiler_enable이 줄을 썼다 = 1
xdebug.profiler_append = 1
xdebug.remote_autostart = 1
xdebug.trace_options = 1

phpinfo()에서 X-Debug 확장을 볼 수 있습니까? 이제 시작하는 방법은 무엇입니까?
Plz help!

This worked, but how to read it :(!
; X 디버그 구성
xdebug.profiler_enable = 1
xdebug.profiler_append = 1
xdebug.remote_autostart = 1
xdebug.trace_options = 1
xdebug.profiler_output_dir = "E/wamp/tmp "
xdebug.profiler_output_name ="cachegrind.out. % s. % H "

답변

0

또한 xdebug를 지원하는 IDE가 필요합니다. 많은 에디터가 그것을 지원하고, 다른 에디터는 플러그인을 설치해야 할 수도 있습니다. 어떤 편집기를 사용하고 있습니까? 메모장 ++, Eclipse (및 변형), 심지어 VIM도 xdebug를 지원합니다.

+0

메모장을 사용합니다. ++! – Sourav

+0

Google [Notepadd ++로 XDebug 설치하기] (http://amiworks.co.in/talk/debugging-php-using-xdebug-and-notepad-part-i/)에서도이 기사를 발견했습니다. firefox에는 xdebug를 쉽게 켜고 끌 수있는 몇 가지 플러그인이 있습니다. – Brombomb

관련 문제