In your PHP code, you can call PHP Console debug statements like %1$s to display PHP variables in the browser's JavaScript-console (e.g. %2$s) and optionally filter selected tags through the browser's Remote PHP Eval Terminal screen's "Ignore Debug options".