Remote Debugging in PhpStorm

Posted on by

UPD: Note that this screencast is for 1.0.x only.  Check out tutorial for 2.o.

With PhpStorm and Xdebug you can easily debug your web application right on your server using Remote Debugging. It’s a very convenient way to examine and fix little annoying bugs that often come up very suddenly in a production environment. This video provides a step-by-step guide on how to configure Remote Debugging in PhpStorm using Xdebug.

Remote Debugging in PhpStorm from Egor Malyshev on Vimeo.

Watch it, get your tools ready and go fight those bugs! We’re looking forward to your feedback, as always.

Also check out more PhpStorm video tutorials.

Comments below can no longer be edited.

6 Responses to Remote Debugging in PhpStorm

  1. Shein Alexey says:

    August 27, 2010

    Your video is damaged, it’s all black although sound works ok.

  2. Alexey Korsun says:

    August 27, 2010

    It seems like it’s not working on Linux. Sorry, we will correct it soon.

  3. Shein Alexey says:

    August 27, 2010

    Thanks for fixing, vimeo version works good.

  4. Petr says:

    September 1, 2010

    Не совсем понял: PhpStorm определил проблемы с настройкой XDebug, после чего ведущий поменял настройки в php.ini, который находился на диске C: и перезапустил веб сервер XAMP, выглядел как локальный web server.

    Я ожидал увидеть какие-то манипуляции с php.ini и apache на удалённом сервере, ведь видео про Remote Debugging!

  5. Alexey Korsun says:

    September 1, 2010

    You are very attentive, Petr 🙂
    Yes, I used localhost to show how remote debugging works to simplify demonstration because it works absolutely the same way when using remote host. That’s the idea.
    As regards manipulation with php.ini – of course you should change it on remote server as well as restart Apache at remote server, but I didn’t want to detract focus from IDE setup to all that stuff regarding remote connections etc..
    Hope that it still helped you 😉

  6. Nancie Kindley says:

    May 2, 2012

    I have spent the past Half an hour looking through several posts here and thought i would sign up for your feed!