ashea-code / BLUI

Rich HTML UI engine for UE4
MIT License
860 stars 258 forks source link

Debugger Session #58

Open paultech opened 8 years ago

paultech commented 8 years ago

Hello,

I see the process opens port 7777 on loopback interface. Connecting via telnet or web browser fails. Is there a method to access this debugging console? Is it documented anywhere?

Connecting To localhost...Could not open connection to the host 127.0.0., on port 7777: Connect failed

ashea-code commented 8 years ago

While the game world is playing and there is a running browser within the engine, you may access http://localhost:7777 to access the developer tools

paultech commented 8 years ago

I'm running a PIE session with a active browser session (Fully initialized and texture is rendering). The port is Listening so I assume it is in a good state. However connecting to 7777 via browser or telnet gives a connection refused.

Windows 10 BLUI 3.1 Unreal Engine Version: 4.9.2-0+++depot+UE4-Releases+4.9

ashea-code commented 8 years ago

Restart the editor and check the log to see if CEF had any issues trying to bind to that port

paultech commented 8 years ago

Restart of editor and started in debug session shows zero errors regarding CEF/Blu. Only worthwhile entries: LogBlu: Component Initialized LogBlu: Loading URL: blui://WebUI/CNC/index.html LogBlu: Load Local File: file:///C:/Users/Paul/Perforce/paultech_windows/WebUI/CNC/index.html

I'll double check everything on my end and see if I recreate on another setup.

Thanks

paultech commented 8 years ago

Able to replicate problem on different computer with similar version information.

Does BLUI have its own log file or method to trigger more verbose logging? Currently very little is logged on any kind of failure.

ashea-code commented 8 years ago

Most of the logging is done by CEF itself. As BLUI just acts as a wrapper for things. I can't seem to replicate this issue on any of my dev machines. I can access the developers tools just fine.

You can enable more verbose CEF logging using this line:

BluManager::settings.log_severity = LOGSEVERITY_VERBOSE;