Debugging Chrome native messaging

有些话、适合烂在心里 提交于 2019-12-06 13:04:34

You can run Chrome with logging enabled and then review the errors using Sawbuck - a handy GUI designed just for that. If the problem is with Chrome, it might shed some light.

see here - http://www.chromium.org/for-testers/enable-logging

There are multiple ways to debug but no end-end IDE like debug exists.

  1. to debug your background and content scripts--- background and page content section in chrome tools

  2. to debug the host --- open chrome from terminal with logging enabled

  3. Also native messaging API offers you some methods which will return appropriate error messages like, runtime.lastError

    can refer this

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!