PHPStrom在PHPStudy的环境下运行xDeBug断点调试

@开启phpstudy的xdebug

@配置php.ini

    xdebug.profiler_append = 0

    xdebug.profiler_enable = 1

    xdebug.profiler_enable_trigger = 0

    xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"

    xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\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"

    zend_extension="D:\phpStudy\PHPTutorial\php\php-7.0.12-nts\ext\php_xdebug.dll"

    xdebug.remote_port = 9100

    xdebug.remote_mode = "req"

    xdebug.idekey = PHPSTORM

   

@Chrome浏览器安装xdebug扩展

    #idekey,修改为phpstorm

    #白名单(Domain filter),将localhost和127.0.0.1配置进来。

猜你喜欢

转载自blog.csdn.net/glfxml/article/details/82786999