Add env var to enable js debugging/profiling even if not built on debug mode
commit25418e74c072ebb9177934e8e8239a65b0b153e8
authorAlbert Astals Cid <albert.astals@canonical.com>
dateTue 5 Apr 2016, 13:14 (11 years ago)
parent8e46b45
src/Dash/main.cpp+4
@@ -73,6 +73,10 @@ int main(int argc, const char *argv[])
7373 }
7474 }
7575
76+ if (getenv("ENABLE_QML_DEBUGGER")) {
77+ QQmlDebuggingEnabler qQmlEnableDebuggingHelper(true);
78+ }
79+
7680 bindtextdomain("unity8", translationDirectory().toUtf8().data());
7781 textdomain("unity8");
7882