Debug php in console javascript