Open the WordPress theme or plugin folder you're working on in VS Code. Make sure that your wp-config.php file is set to write to the debug.log file.
Open the command pallette (cmd + p on Mac) and type > Get WordPress Log. This will make a new window pop up where you have your debug.log. The debug.log window will auto update when the log file changes.