Jan 6, 2010

Komodo IDE, XDebug and superglobals

If you, like me, prefer Komodo IDE for PHP development, you may have noticed that superglobals ($_GET, $_POST, etc) are absent from "Superglobals" tab in debug window. If you have this problem, update to the latest PECL version of XDebug:
sudo pecl update xdebug
Superglobal will magically appear. Do not forget to restart Apache:
sudo apachectl restart

3 comments:

  1. The right command is:

    sudo pecl upgrade xdebug

    ReplyDelete
  2. But with PHP 5.3.1 and XDebug 2.0.5 all varialbles in local score were displayed as uninitialized.

    Using the beta version [1] of XDebug fix this issue.



    [1] http://www.xdebug.org/download.php



    Stefano

    ReplyDelete
  3. Thanks for additions :)

    ReplyDelete