Xdebug+ZendStudio configuration zend studio 13 debug Android studio debug debugging zend studio 10 debu

WBOY
Release: 2016-07-29 08:55:12
Original
1441 people have browsed it

Original link: http://www.orlion.ga/689/

I have known about such a thing for a long time, but it has never been used. I have been using exit() and var_dump() debugging, which is very inefficient.

First download the xdebug dll file (under Window environment) at: https://xdebug.org/download.php. This time, the download is php_xdebug-2.3.3-5.5-vc11-x86_64.dll. (This is a thread-safe version) After downloading, place it in the ext folder of the PHP installation directory. Then configure php.ini and add these lines:

XDEBUG Extension

zend_extension="C:\wamp\bin\php\php5.5.12\ext\php_xdebug-2.3.3-5.5-vc11-x86_64.dll"
;允许远程IDE调试
xdebug.remote_enable=true
;远程主机
xdebug.remote_host=127.0.0.1

xdebug.profiler_enable=on
;临时跟踪信息输出
;xdebug.trace_output_dir="C:\wamp\xdebug\trace"
;xdebug.profiler_output_dir="C:\wamp\xdebug\profiler"

xdebug.auto_trace=On
;开启异常跟踪
xdebug.show_excepti
;开启远程调试自动启动
xdebug.remote_autostart=On
;收集变量
xdebug.collect_vars=On
;收集返回值
xdebug.collect_return=On
;收集参数
xdebug.collect_params=On
;显示局部变量
xdebug.show_local_vars=On
;显示默认的错误信息
xdebug.default_enable=On
;用于zend studio远程调试的应用层通信协议
xdebug.remote_handler=dbgp
;如果设得太小,函数中有递归调用自身次数太多时会报超过最大嵌套数错
xdebug.max_nesting_level=10000
Copy after login

You can refer to: http://www.cnblogs.com/dreamhome/p/3218744.html, http://blog.csdn.net/xinzheng_wang/article/details + gt; Preferences->PHP->Debug:

      The PHP Server:wamp_apache in the above picture was configured before. It is best to configure one
    1. android studio debug,studio debug快捷键,visual studio debug,zend studio debug,studio debug怎么用,rstudio debug,zend studio 13 debug,安卓studio debug调试,zend studio 10 debu

      Then you can create a file and add breakpoints, and then right-click the file- >Debug as->PHP CLI Application.
    2. The above introduces the Xdebug+ZendStudio configuration, including studio and debug content. I hope it will be helpful to friends who are interested in PHP tutorials. android studio debug,studio debug快捷键,visual studio debug,zend studio debug,studio debug怎么用,rstudio debug,zend studio 13 debug,安卓studio debug调试,zend studio 10 debu

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!