Debugging QML Applications

This topic describes the tools available for debugging QML applications.

Console API

LogUse console.log to print debugging information to the console. For example:
function f(a: int, b: string) {
    console.log("a is ", a, "b is ", b);

The output of the console.log is written to Qul::Platform::PlatformContext::consoleWrite.

Available under certain Qt licenses.
Find out more.