Using log viewer with VS code You should have VS Code Install log viewer into VS code Open up the wordpspace file and add the log viewer settings. if this was a fresh workspace, I'd look like this { "folders": [ { "path": "." } ], "settings": { "logViewer.watch": [ { "title": "local php error logs", "pattern":"${workspaceFolder}/logs/php/error.log" } ] } } In app/public/index.php add error_log('hello world) Click the Log Viewer Icon on theleft of VS Code Click local php error logs Reload Wordpress, you should see 'hello world' in the error logs Anything more than a string will require error_log(var_export( $objToLog, true)) where $objToLog is....