diff --git a/src/main.vala b/src/main.vala index 2c0ac94..b8e4121 100644 --- a/src/main.vala +++ b/src/main.vala @@ -45,6 +45,9 @@ public static int main(string[] args) if (core == null) error("cannot initialize core"); + if (core.config.is_debug_on() == true) + Environment.set_variable("G_MESSAGES_DEBUG", "all", false); + var loop = new MainLoop(); var discovery = new Discovery(); var manager = new DeviceManager();