XDebug가 디버깅

설치

  1. 액세스 Xdebug는
  2. 다운로드 클릭
  3. , 자료를 찾기 클릭
    사용자 정의 설치 지침을.

  4. 소스 코드에서 () 흰색 상자은 phpinfo를 입력


  5. () 내은 phpinfo를 분석 출력을 클릭

  6. 그런 다음 다운로드

  7. DLL 파일 내부 경로 내선 PHP 파일로 다운로드됩니다

  8. php.ini의 구성

    [Xdebug]
    zend_extension = D:\ProgramSoft\phpstudy_pro\Extensions\php\php7.3.4nts\ext\php_xdebug-2.7.2-7.3-vc15-nts-x86_64.dll
    xdebug.profiler_append = 0
    
    xdebug.profiler_enable = 1
    
    xdebug.profiler_enable_trigger = 0
    
    xdebug.profiler_output_dir ="D:\ProgramSoft\phpstudy_pro\tmp\xdebug"
    
    xdebug.trace_output_dir ="D:\ProgramSoft\phpstudy_pro\tmp\xdebug"
    
    xdebug.profiler_output_name = "cache.out.%t-%s"
    xdebug.remote_enable = 1
    xdebug.remote_handler = "dbgp"
    xdebug.remote_host = "127.0.0.1"
    xdebug.remote_port = 9000
    xdebug.remote_mode = "req"
    xdebug.idekey= PHPSTROM

    phpstorm의 Xdebug는 구성

    https://blog.csdn.net/qq_33862644/article/details/76677879

추천

출처www.cnblogs.com/wakyde/p/11723710.html