best way to debug php in the browser console