Debugging a Multi-form application using Xdebug

Discussion in 'PHP' started by tstruyf, Aug 20, 2008.

  1. #1
    I'm having some problems trying to debug a multi-form PHP application.

    I installed Eclipse and Xdebug in combination with WAMP2.0 server. My tools work fine.

    I have 2 pages: One page contains a form where the user needs to input data. The second is a script which get POST data from the submitted form.

    I want to debug the script, but it will need the submitted POST variables from the submitted form. I know I need to start a Xdebug session on the first page, and stop that session after my script is completed. But can't figure out how this exactly works. I even found a Firefox addon for using Xdebug sessions, but I can't figure out how it works either.
    https://addons.mozilla.org/nl/firefox/addon/3960

    Does anyone have any experience with this? It would be a great help

    Thanks in advance!
    tstruyf
     
    tstruyf, Aug 20, 2008 IP