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配置信息(一般自动生成就可以用了)

  • 相关阅读:
    文档API
    vi编辑器常用方法
    storm实战入门一
    redis教程
    为redis分配一个新的端口
    Lucene分页查询
    Lucene搜索方式大合集
    HBase Scan类用法
    java.util.Queue用法
    Makefile中预定义变量
  • 原文地址:https://www.cnblogs.com/alisleepy/p/9982449.html
Copyright © 2011-2022 走看看