Getting to know how the application works i needed a way to investigate some bits and pieces in the code. That's why I created the following patch.
Debug lines can be created with the following code:
qCDebug(FALKON_PRIVATE_LOG) << "testing 123, testing";
and debug lines can be activated with the runtime flag:
QT_LOGGING_RULES="org.kde.falkon.debug=true"