开发者

Debugger is not hitting, though Xdebug is installed

I have enabled Xdbug from开发者_如何学运维 php.ini. How do i enable debugging from eclipse. I set the debugger in eclipse but they are never hit, each time when ever it try to debug a new configuration is created.

Debugger is not hitting, though Xdebug is installed

Debugger is not hitting, though Xdebug is installed

debugger setting:

Debugger is not hitting, though Xdebug is installed


Looks like your debugger session is already running. That's why you're getting that message. Eclipse usually switches to the Debug perspective when you hit debug. You can manually switch to it by clicking on the Open Perspective button.

Debugger is not hitting, though Xdebug is installed

If you're working with vhosts, make sure to create a new Server with that hostname. Go to Windows -> Preferences and then PHP -> Debug. Select the PHP Servers option and create a new server with your vhost.

After that, create a new Run Configuration with your newly created server. Once you've created the configuration, you can simply run it. You can also quick access it by going to Run -> Debug History. It will only show up in history once you've run it at least once.


resolved it ,
following lines were commented. xdebug.remote_enable=true xdebug.remote_host=localhost xdebug.remote_port=10000 xdebug.remote_handler=dbgp xdebug.profiler_enable=1 xdebug.profiler_output_dir="C:\xampp\tmp"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜