I am trying to get a hang of netbeans (PHP) with xdebug.
I have found out the way to do a debug is usually set the URL in netbeans, e.g.
http://localhost/muster/index.php?module=Wind&Action=Test
then hit the debug button, but what do I do to debug a POST request? e.g.
there is a javascript function in a .js file which calls a php file with POST, it is like this:
new Ajax.Request(
'index.php',
{
queue: {position: 'end', scope: 'command'},
method: 'post',
postBody: "module=Wine&action=WineAjax&return_id="+id,
onComplete: function(response)
{ ....
How do I set the URL to start the debugging?
Many thanks for any input!