Added Debug class on server-side.