1
我有一个页面,我做一个按钮:如何使用Netbeans在服务器端调试Ajax请求?
$.post("../somefolder/myfile.php",{option:"somevar", anotherParam:"aParam", andAnother:"YouCanImagine"},function (myData)
{
doSomething();
});
我想是当到达断点时我对myFile.php,当我按在网站上的按钮的NetBeans得到停止。我有调试工作,我无法得到它的工作是调试Ajax请求(不知道如果可能的话。”
我readed了很多,并试图增加..
$.post("../somefolder/myfile.php?XDEBUG_START_SESSION=netbeans-xdebug" ....
但没“T的工作。然后我试图与
...myfile.php",{option:"somevar", anotherParam:"aParam", andAnother:"YouCanImagine", XDEBUG_SESSION_START: "netbeans-xdebug" ..
通过作为后用同样的结果。 我已经在Firefox最简单的Xdebug扩展,我看XDEBUG_SESSION如何添加与请求的cookie。
我的问题是,可以做什么我试图实现?或者我一整天都在疯狂尝试,而且不可能?
感谢