XDebug debugging

installation

  1. Access Xdebug
  2. Click to download
  3. Find RELEASES, click the
    custom installation instructions.

  4. Fill in the white box phpinfo () out of the source code


  5. Click Analyse my phpinfo () output

  6. Then download

  7. Dll file will be downloaded into the path ext php file inside

  8. Php.ini configuration

    [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

    Xdebug configuration of phpstorm

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

Guess you like

Origin www.cnblogs.com/wakyde/p/11723710.html