1
操作系统:Windows 7 Web服务器:XAMPP 1.8.2(PHP版本:27年5月4日) phpstorm:6.0.3断点不phpstorm击+ Xdebug的
在php.ini:
[XDebug]
zend_extension = "D:\xampp\php\ext\php_xdebug-2.2.4-5.4-vc9.dll"
;xdebug.default_enable=1
;xdebug.auto_trace=1
;xdebug.show_exception_trace = 1
;xdebug.collect_vars = 1
;xdebug.collect_params=1
;xdebug.collect_return=1
;xdebug.profiler_append = 1
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = "D:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 0
;xdebug.remote_autostart = off
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.trace_output_dir = "D:\xampp\tmp"
xdebug.remote_mode = "req"
xdebug.remote_port = 9001
xdebug.idekey="PHPSTORM"
当我在phpstorm中调试web应用程序。 xdebug正在运行,但与运行一样。 我设置了一些断点,但并不止于此。
我也想把它设置在eclipse php 3.0.2中。结果是一样的。我认为php和xdebug可能有问题。 – PhilipSong
*“xdebug.remote_enable = 0”* - 难怪 - 调试器被禁用。 http://confluence.jetbrains.com/display/PhpStorm/Xdebug+Installation+Guide – LazyOne
谢谢Lazyone,今天早上我犯了这么愚蠢的错误。 remote_enable应为1. – PhilipSong