phpconsole class for ajax debugging