Home > Backend Development > PHP Tutorial > xampp组合chrome和eclipse调试php的配置步骤

xampp组合chrome和eclipse调试php的配置步骤

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:11:08
Original
898 people have browsed it

xampp结合chrome和eclipse调试php的配置步骤
1.安装xampp后,打开php.ini文件,取消最后面的[XDebug]的注释,特别注意 一定要打开元调试功能:xdebug.remote_enable = 1,重启xampp的apache服务。



2.安装chrone浏览器的php调试插件:xdebug heler。


3.在eclipse-php-helios-SR2-win32 的首选项 中设置 php excutables,指向xampp中的php安装路径,且选择xdebug作为调试器。




4.在debug处选择xdebug,且php excutables 选择上一步设置的执行环境即可。配置installed Debugger 里面的xdebug,一定要

将Accept remote session 设置loaclhost 或者any,否则 eclipse里面是不会停在断点处的。





5.在eclipse中设置断点,然后chrone 浏览器中发起调试。







注意事项

  • 在chrome浏览器发起调试时,需要选择Debug模式
  • 如果不需要每次断点在第一行停留时,可取消"停在第一行” 选项。


Related labels:
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
Latest Issues
sublime xdebug problem
From 1970-01-01 08:00:00
0
0
0
PHP: Xdebug access denied but exits with code 0
From 1970-01-01 08:00:00
0
0
0
Install Xdebug for PHP 7.4 on M1 Apple
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template