What if you could use VS Code as the editor of in-browser Developer Tools?
christianheilmann.com
christianheilmann.com
In general the server-app could be generating the HTML and scripts it serves. They need not exist in any file really. They could come from a database.