해결 방법 1 :
당신은 프로젝트 소스 코드와 Xdebug는 출력 사이의 정확한 매핑을 구성해야합니다. 당신은 여기에서 그것을 할 coudl :
Project Window -> right click on project name -> Properties -> Run Configuration -> Advanced -> Path mapping
해결 방법 2 :
확인 PHP 정보에 Xdebug는이 제대로 구성되어있는 경우.
<?php
phpinfo();
한번에 찾을 :
는
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
그런 다음 php.ini 파일에서 (이 한 느낌의 위치를 확인할 수 있습니다 당신은 빈 PHP 파일은 phpinfo()에 의해 그것을 확인하고 브라우저에서 실행할 수 있습니다 에 그런
:
이
[xdebug]
xdebug.remote_enable = On
xdebug.profiler_enable = On
xdebug.profiler_enable_trigger = On
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/xamp/tmp"
xdebug.remote_handler=dbgp
xdebug.remote_port=9100
xdebug.remote_host=localhost
(/ xamp/tmp에있는이 디렉토리 (C)가 확실합니다)은 phpinfo()에서이 섹션을 추가
Tools -> Options -> PHP -> Debugging
설정 : 디버거 포트 :에 넷빈즈 9100 선택은 저장
"첫 번째 라인에서 정지 (Stop)"로 전환하고 applictaion를 디버깅하는 것은 이제 잘 작동합니다.