PsySH is a neat interactive debugging tool for PHP. Thanks to WP Console, you can bring it to your browser. It has a neat editor powered by Ace Editor and offers auto-completion for PHP and WordPress functions. You will be able to view output and debug.log contents and clear everything in a flash.
This plugin supports VS Code snippets. It is designed to play well with WP-CLI. Simply activate the plugin, and you are ready to go. WP Console is available as a free download.