zoukankan      html  css  js  c++  java
  • phpstorm配置xdebug,并用postman调用

    1.修改php.ini

    xdebug2版本
    [XDebug]
    ;xdebug库文件
    zend_extension = D:phpstudy_proExtensionsphpphp7.3.4ntsextphp_xdebug.dll
    ; 开启远程调试
    xdebug.remote_enable = On
    ;启用性能检测分析
    xdebug.profiler_enable = On
    ;启用代码自动跟踪
    xdebug.auto_trace = On
    xdebug.profiler_enable_trigger = On
    xdebug.profiler_output_name = cachegrind.out.%t.%p
    ;指定性能分析文件的存放目录
    xdebug.profiler_output_dir = "D:/tmp"
    xdebug.show_local_vars = 0
    ;客户机 xdebug 监听端口和调试协议
    xdebug.remote_handler = dbgp
    xdebug.remote_port = 9000
    ; 客户机 ip
    xdebug.remote_host = "localhost"
    

    2.配置phpstorm

     

     

     

     

     

  • 相关阅读:
    Twisted
    day10-redis操作
    day9mysql操作
    day9-paramiko
    day10-rabbitmq
    day9-协程
    day8-异常
    Linux 软连接
    nginx 配置篇
    ansilbe基础学习(一)
  • 原文地址:https://www.cnblogs.com/xiaobiaomei/p/14944869.html
Copyright © 2011-2022 走看看