zoukankan      html  css  js  c++  java
  • Phpstorm-Xdebug配置

    用的是phpstudy集成开发环境

    1 xdebug关于Php.ini配置最后写上

    php5的

    [XDebug]

    xdebug.profiler_append = 0

    xdebug.profiler_enable = 1

    xdebug.profiler_enable_trigger = 0

    xdebug.profiler_output_dir="D:phpStudy mpxdebug"

    xdebug.profiler_output_name = "cachegrind.out.%t-%s"

    xdebug.remote_enable = 1

    xdebug.remote_handler = dbgp

    xdebug.remote_host= localhost

    xdebug.remote_port = 9000

    xdebug.trace_output_dir="D:phpStudy mpxdebug"

    zend_extension="D:phpStudyphpphp-5.5.38extphp_xdebug.dll"

    xdebug.idekey= PHPSTROM

     ===============

    php7

    [XDebug]

    xdebug.profiler_append = 0

    xdebug.profiler_enable = 1

    xdebug.profiler_enable_trigger = 0

    xdebug.profiler_output_dir="D:phpStudy mpxdebug"

    xdebug.profiler_output_name = "cachegrind.out.%t-%s"

    xdebug.remote_enable = 1

    xdebug.remote_handler = dbgp

    xdebug.remote_host= localhost

    xdebug.remote_port = 9000

    xdebug.trace_output_dir="D:phpStudy mpxdebug"

    zend_extension="D:phpStudyphpphp-7.0.12-ntsextphp_xdebug.dll"

    xdebug.idekey= PHPSTROM

     记得开启扩展

    2 xdebug的配置和php.ini一致

    3    xdebug的DBGp配置默认的这些

    3.    xdebug的配置服务2钟方式

    一种是在右上角按  配置

    一种是直接在配置里面设置

     

    配置chrom的debug(参考)

    http://download.csdn.net/detail/erisern2/9470496

    4    xdebug最后

    选好右上角的配置,然后设置断点,断点记得一定要选好位置,不要选在空白处,不然无法启动,选在类,函数开头,或者变量位置!!!!!!!!!!!!!!!!!!!启动小蜘蛛就可以了

    多个配置则添加多个PHP web Application即可,配置完毕!!

  • 相关阅读:
    Android之ActionBar的样式使用
    Android之在View中执行Activity的跳转
    Android之百度定位API使用
    那些年掉进过的Android坑之Fragment系列
    Android UI设计框架[1]: ViewPager+Fragment实现底部图标文字的导航栏(IconTabPageIndicator)
    SQLite3初探
    【GDOI2018模拟7.9】期末考试
    【ZJOJ1321】灯
    【NOIP2016提高A组模拟8.23】函数
    【ZJOJ5186】【NOIP2017提高组模拟6.30】tty's home
  • 原文地址:https://www.cnblogs.com/wujunbin/p/7465413.html
Copyright © 2011-2022 走看看