zoukankan      html  css  js  c++  java
  • vscode中配置php的xdebug

    vscode中配置php的xdebug

    vscode配置php的xdebug,步骤如下:
    1、 安装phpdebug插件: PHP Debug
    2、网上下载php的xdebug扩展(注意根据自己的php版本号进行下载)
    我自己php版本: 5.6.25
    下载的xdebug版本:5.6
    保存在 .../ext/ 目录下
    3、配置php.ini文件(此文件是apache中的,非php中的)
    ; XDEBUG Extension
    [xdebug]
    zend_extension ="D:/wamp/bin/php/php5.6.25/zend_ext/php_xdebug-2.4.1-5.6-vc11-x86_64.dll"
    xdebug.remote_enable = on
    xdebug.profiler_enable = on
    xdebug.profiler_enable_trigger = on
    xdebug.profiler_output_name = cachegrind.out.%t.%p
    xdebug.profiler_output_dir ="D:/wamp/tmp"
    xdebug.show_local_vars=0
    ;启用远程调试
    xdebug.remote_autostart= 1
    4、重启服务器,在vscode中点击臭虫,添加php的xdebug配置信息(一般自动生成就可以用了)

  • 相关阅读:
    解决express不是内部或外部命令
    spring ioc认识
    Filter编码过滤
    call、apply、bind
    js面向对象浅析
    由clientWidth到document
    401
    删除页面中Form下面隐藏的ViewStatue
    asp.net 下载
    day98
  • 原文地址:https://www.cnblogs.com/alisleepy/p/9982449.html
Copyright © 2011-2022 走看看