Data Mechanics Data Mechanics - 1 year ago 159
Ajax Question

debug ajax php with netbeans xdebug

I have jquery making an ajax call to another php file and cannot workout how to get netbeans and xdebug to stop at a breakpoint on this file.


function ajaxfunc(){


echo Whatever::doit();
class Whatever(){
public function doit(){

Netbeans stops at code in index.php but not in other.php

Answer Source

Add ?XDEBUG_SESSION_START=netbeans-xdebug to your ajax url.

that will turn on debugging for your ajax call. make sure the project you have open has the other.php file in it.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download