christian-bromann / devtools-backend

Standalone implementation of the Chrome DevTools backend to debug arbitrary web environments.
Apache License 2.0
143 stars 23 forks source link

App page not loading #13

Open gitkav opened 6 years ago

gitkav commented 6 years ago

Hi Christian,

I manually injected the script in my app code. When I load the app on TV, the page is not loading. The devtool inspector shows my app and when I click it I see elements. But no console and network logs. I can see some errors related to chrome-devtools-frontend in logs/devtools-backend_Page.log Outgoing debugger message: {id: 22, error : Method startscreenshot not found} Outgoing debugger message: {id: 25, error : Method stopscreenshot not found} Outgoing debugger message: {id: 86, error : Method getBoxModel not found}

If I don't inject the script manually and use proxy, I can see the trigger for my app but when I click the red button I see NotAvailable on TV. Also the chrome inspector gives error "Debugging connection was closed"

christian-bromann commented 6 years ago

I can see some errors related to chrome-devtools-frontend in logs/devtools-backend_Page.log Outgoing debugger message: {id: 22, error : Method startscreenshot not found} Outgoing debugger message: {id: 25, error : Method stopscreenshot not found} Outgoing debugger message: {id: 86, error : Method getBoxModel not found}

Probably some devtools methods that aren't implemented yet. Not sure how important they are.

when I click the red button I see NotAvailable on TV.

Looks like a JavaScript issue in the instrumentation script.

I am not actively maintaining this project anymore. I am busy with other open source projects and I don't really work with TV apps anymore. Sorry!