【问题标题】:How to log PHP messages to a debug console while debugging in Eclipse?在 Eclipse 中调试时如何将 PHP 消息记录到调试控制台?
【发布时间】:2012-03-06 22:19:52
【问题描述】:

我想在 Eclipse 中调试 PHP 时跟踪或记录消息到调试窗口。

我可以将它打印到 stderr 或类似的东西吗?我试过了,但我不知道在哪个 Eclipse 窗口中查找它。

我知道我可以通过监视和表达式来做到这一点,但每次调试时自动打印它会更灵活。

我将 Eclipse 与 Zend Debugger 和 Apache 一起使用。

【问题讨论】:

    标签: php eclipse debugging zend-debugger


    【解决方案1】:

    最简单的方法是创建一个文本文件并将调试日志附加到该文件中。

    【讨论】:

    • 这个问题的所有 Eclipse 方面?
    • 亲爱的我还没有使用 Eclipse 的 php 。没有任何线索。
    猜你喜欢
    • 2016-04-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-09-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多