Debugging PHP in Aptana 2.0
Posted
by Nick Lowman
on Stack Overflow
See other posts from Stack Overflow
or by Nick Lowman
Published on 2010-05-19T15:50:01Z
Indexed on
2010/05/26
19:11 UTC
Read the original article
Hit count: 179
I'm a real newbie when it comes to PHP debugging so forgive my stupidity. I have a simple html form that submits to a PHP script and I want to debug that script and see what's being sent from the form.
My Aptana has two two PHP interpreters installed; Zend Debugger on port 10001 and XDebug on 9000
I have the Firefox Aptana Addon installed
I have my HTML page on the following url, running locally;
In the IDE I open the PHP script and add some breakpoints, I then open the latest.html and I click on the debug button. It launches the HTML page in a local webserver running at;
http://127.0.0.1:8000/3i/latest.html
I then fill out the form and submit at which point the debugger tells me the JS Debugger has terminated but it doesn't stop at my break points.
I've had a good read around and I can't find anything which helps me, which makes me think it's something pretty easy and I'm being a bit dumb.
© Stack Overflow or respective owner