How to know proprieties and values of an object in QML

A simple function to debug objects in QML

| Published

Hope it will be useful to someone :-)

So, to call the function we only need to write debug (objectId, 0) whenever we need to debug an object. 0 is because it’s a recursive function, and it indicates the level of formattation