开发者

What is an easy tool/app for debugging(stepping through) PHP code? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 4 years ago.

Improve this question

I've tried to use Eclipse on Linux but was not able to get it to work after about 4 hours of trying and regressed to just inserting echo comments everywhere like I had been doing.

Now when I debug my Javascript in IE, I just hit F12 and a few more keys and I'm stepping through the Javascript.

I'm back on Windows so I need a Window Solution that is hopeufully simple, 开发者_如何学GoI'm not lazy - just pressed for time.

It would be cool if once javascript passed control to PHP, the debugger just kept stepping into the PHP, but does this even exist?


Sounds like you are looking for something like FirePHP or ChromePHP. Those are Firefox and Chrome extensions which allow you to display anything that your PHP script output during runtime in either Firebug (needs to be installed in Firefox) or native Chrome Developer Tools (doesn't require any extension in Chrome).

Keep in mind though that they are merely capable of displaying messages from your script and don't offer options such as watches, breakpoints etc.

A full-blooded PHP debugger / profiler like xDebug would still be a better solution in my opinion offering you a much better and leaner way of debugging.


FirePHP is a good dubugger for PHP scripts.


Netbeans for php, Chrome netbeans extension and configure Netbeans to use internal php web server. It runs out of the box.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜