Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Web Debugging Tips

Bruno Denuit edited this page Dec 7, 2016 · 2 revisions

There are two flags you can pass in to the Windows player to help with web development.

-disable-web-security
Adds the following Chromium flags on browser startup:

disable-web-security   
ignore-certificate-errors  
allow-insecure-localhost  

-web-debugging-port=xxxx
Enables remote web debugging on that port.
You can then browse to http://localhost:xxxx and select the Enplug Player.
Note: Make sure you have devtools_resources.pak in the C:\Users\<you>\AppData\Roaming\Enplug Display directory, or you might get a blank page when selecting the Enplug Player debugging session.

To pass these flags to the player, you will have to start the player jar manually (from the C:\Users\<you>\AppData\Roaming\Enplug Display directory).

Example:

<java dir>\java -jar Player.jar -disable-web-security -web-debugging-port=9222

Note: The java.exe has to be the x86 version of Java.

Clone this wiki locally