]> git.sesse.net Git - casparcg/blobdiff - modules/html/html.cpp
#346 #441 Added remote debugging support in html producer.
[casparcg] / modules / html / html.cpp
index fdfe31e9365cf16f46cb4f630b06f3333629556a..dc7365b4a4a05b62456b0bb50f693a2475ffb360 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <common/executor.h>
 #include <common/future.h>
+#include <common/env.h>
 
 #include <core/producer/cg_proxy.h>
 
@@ -234,6 +235,7 @@ void init(core::module_dependencies dependencies)
        {
                CefSettings settings;
                settings.no_sandbox = true;
+               settings.remote_debugging_port = env::properties().get(L"configuration.html.remote-debugging-port", 0);
                //settings.windowless_rendering_enabled = true;
                CefInitialize(main_args, settings, nullptr, nullptr);
        });