网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

sublime+xdebug-client+xdebug-helper本地调试

  1. 软件下载:
    a. xdebug扩展:
    https://xdebug.org/download.php

    b. xdebug-client(sublime):

    创新互联建站专注于花都企业网站建设,响应式网站建设,商城网站建设。花都网站建设公司,为花都等地区提供建站服务。全流程定制网站制作,专业设计,全程项目跟踪,创新互联建站专业和态度为您提供的服务

    xdebug client

    c. xdebug-helper(chrome):

    https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc
  2. 安装xdebug:
    a. 下载:
    git  clone  git://github.com/xdebug/xdebug.git

    b. 安装:
    b-1. 进入目录:

    cd  xdebug

    b-2. 生成编译文件:

    phpize

    b-3. 编译:

    ./configure  --enable-xdebug  --with-php-config=/usr/local/php/bin/php-config

    b-4. 安装:

    make  &&  make  install
  3. 配置:
    a. php.ini:
    [xdebug]
    zend_extension="C:\assembly\appserv\php5\ext\php_xdebug-2.5.3-5.6-vc11.dll"
    xdebug.remote_enable = 1
    xdebug.remote_host = "localhost"
    xdebug.remote_port = 9000
    xdebug.remote_handler = "dbgp"
    xdebug.remote_mode = req
    xdebug.remote_connect_back = 0

    sublime+xdebug-client+xdebug-helper本地调试
    b. Xdebug.sublime-settings(sublime):

    {
    "super_globals": true,
    "close_on_stop": true,
    "ide_key": "web"
    }

    sublime+xdebug-client+xdebug-helper本地调试
    c. xdebug.sublime-project(sublime):

    {
    "folders":
    [
        {
            "path": "."
        }
    ],
    "settings":
    {
        "xdebug":
        {
            "close_on_stop": true,
            "super_globals": true,
            "url": "http://localhost"
        }
    }
    }

    d. xdebug-helper(chrome):

    other--web

    sublime+xdebug-client+xdebug-helper本地调试

  4. 调试:
    a. 添加断点:
    ctrl  +  F8

    sublime+xdebug-client+xdebug-helper本地调试
    b. 开启:
    sublime+xdebug-client+xdebug-helper本地调试
    c. 跳到下一个断点:
    sublime+xdebug-client+xdebug-helper本地调试

  5. 常用快捷键:
    a. 打断点:
    ctrl  +  F8

    b. 断开调试:

    ctrl  +  shift  +  F9

    c. 跳到下一个断点:

    ctrl  +  shift  +  F5

分享文章:sublime+xdebug-client+xdebug-helper本地调试
新闻来源:http://bjjierui.cn/article/jigjsd.html

其他资讯