zoukankan      html  css  js  c++  java
  • phpstorm xdebug

    http://www.cnblogs.com/jsn521/p/3399997.html
    如果extension_dir  里面配置了插件库的路径  zend_extension = "php_xdebug-2.4.1-5.6-vc11-x86_64.dll" 就可以不用写全路径了
    
    https://xdebug.org/wizard.php
    将 phpinfo里面的信息复制到这个网址就可以查看自己 需要下载的xdebug的版本
    查看xdebug模块是否被apache加载进去
         cmd,进入到php.exe的路径执行 php.exe -m 在最后查看是否存在Xdehug
    
    Download php_xdebug-2.4.1-5.6-vc11-x86_64.dll
    Move the downloaded file to D:win10-2016-2-23xampp2phpext
    Edit D:win10-2016-2-23xampp2phpphp.ini and add the line
    zend_extension = D:win10-2016-2-23xampp2phpextphp_xdebug-2.4.1-5.6-vc11-x86_64.dll

    php.ini  中xdebug的端口要和phpstarm中xdebug的端口要一致
    ;Xdebug
    ;zend_extension = "D:win10-2016-2-23xampp2phpextphp_xdebug-2.4.1-5.4-vc9.dll"
    ;zend_extension = "${path}xdebugphp_xdebug-2.4.1-5.4-vc9.dll"
    zend_extension = "php_xdebug-2.4.1-5.6-vc11-x86_64.dll"
    xdebug.default_enable=0
    xdebug.remote_enable=1
    xdebug.remote_host=127.0.0.1
    xdebug.remote_port=9001
    xdebug.idekey="PHPSTORM"
    xdebug.remote_handler=dbgp
    xdebug.remote_mode=req
    xdebug.remote_autostart = false
    xdebug.dump_globals=1
    xdebug.dump=COOKIE,FILES,GET,POST,REQUEST,SERVER,SESSION
    xdebug.dump.SERVER=REMOTE_ADDR,REQUEST_METHOD,REQUEST_URI
    xdebug.show_local_vars=1
    xdebug.show_mem_delta=1
    xdebug.collect_includes=1
    xdebug.collect_vars=1
    xdebug.collect_params=4
    xdebug.collect_return=1
    xdebug.auto_trace=0
    xdebug.trace_options=0
    xdebug.trace_format=0
    xdebug.trace_output_dir="D:win10-2016-2-23xampp2xdebug	race"
    xdebug.trace_output_name="trace.%t"
    xdebug.profiler_enable=0
    xdebug.profiler_append=1
    xdebug.profiler_enable_trigger=1
    xdebug.profiler_output_dir="D:win10-2016-2-23xampp2xdebugprofiler"
    xdebug.profiler_output_name="cachegrind.out.%s.%t"
    ;/Xdebug
    参考链接
       http://www.cnblogs.com/jsn521/p/3399997.html
       http://www.easytd.com/yichangjijin/d_15111008222.html
       https://xdebug.org/wizard.php
  • 相关阅读:
    C# 杂活
    常用 SQL Server 规范集锦
    C# 文件操作
    使用Git 本地代码提交到 GitHub
    Numpy的小总结
    C#最佳工具集合:IDE、分析、自动化工具等
    Web服务器、应用服务器、Web容器、反向代理服务器区别与联系
    Platt SMO 和遗传算法优化 SVM
    Pycharm配置(三)
    Pycharm配置(二)
  • 原文地址:https://www.cnblogs.com/suxiaolong/p/6042565.html
Copyright © 2011-2022 走看看