Qt QWebEngine Remote Debugging: Chrome developer tools no longer work
https://developer.tizen.org/forums/web-application-development/tizen-studio-debug-tizen-web-application-blank-page-chrome-80
Chrome 80 has deprecated WebComponents v0 which is used by these devtools.
Solution is to launch Chrome with extra parameters re-enabling the feature (while it's still in the engine):
--enable-blink-features=ShadowDOMV0,CustomElementsV0
Or to use a Chromium build corresponding to Chrome 79.x, e.g.
Windows: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win_x64/706915/
Mac: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/706915/
Linux: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/706915/
See: Chrome devtools inspector showing blank white screen while debugging with Samsung TV Tizen Web application
Google removed WebComponents V0 from Chrome, but GUI for remote debug uses them. So when you try to launch remote debug on device with old Chrome on board - debugger crashes with
Uncaught TypeError: document.registerElement is not a function
I found two way to fight this
- Downgrade Chrome and there is no easy way to do it (if you use mac here link for you https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/668249/)
- Upgrade chrome on target device and in most cases it is impossible (