Sage 10 - how to return blade templates from setup.php for custom shortcodes?

Btw, you should strive for enabling logging/error reporting on your development server.
And I recommend using an editor with syntax highlighting and linting or an IDE (I currently use VSCode that is free and quite fast). This helps to catch most issues while writing the code.