php – XDebug,Eclipse和帖子

我正在尝试调试注册表单.

是否有一种简单的方法来调试包含请求的帖子数据的页面?

解决方法:

If you want to debug the “POST” method to a PHP page, then make sure
you have “Debug all pages” checked in Run->Open Debug Dialog;PHP Web
Page/New Configuration;Advanced Tab. Then you should let the PHP
script run to display a web page with a form. When you put the data
into the form and submit it, the debugger will now allow you to debug
this page with the POST data.

希望这可以帮助.

资料来源:How To Setup a Free PHP Debugger using Eclipse PDT + XDebug

上一篇:调试PHP


下一篇:xDebug和PHPUnit的代码覆盖率为100%,实际上并非如此