on xenial help sign in
Add env var to enable js debugging/profiling even if not built on debug mode
25418e7Albert Astals Cid
src/Dash/main.cpp+4
@@ -73,6 +73,10 @@ int main(int argc, const char *argv[])
73 }
73 }
74 }
74 }
75
75
76+ if (getenv("ENABLE_QML_DEBUGGER")) {
77+ QQmlDebuggingEnabler qQmlEnableDebuggingHelper(true);
78+ }
79+
76 bindtextdomain("unity8", translationDirectory().toUtf8().data());
80 bindtextdomain("unity8", translationDirectory().toUtf8().data());
77 textdomain("unity8");
81 textdomain("unity8");
78
82