This reminds me of the project I am currently working on.
.NET/QML https://github.com/pauldotknopf/net-core-qml
Not quite production yet, but it will be soon. I'd love to here some input. You can check the unit tests for how things are working currently.
At a certain point, I will also implement a Qml debugger in visual studio code.