| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
9年前发布

通过Chrome DevTools远程调试你的用户浏览器:browser-remote

通过Chrome DevTools远程调试你的用户浏览器

explainer

This is an example of how browser remote debugging can be used to help customers having problems by enabling support agents to remote debug their browser.

explainer


How does it work?

explainer

How to get started?

To get started to need to have three pieces going:

  1. A simple gateway that acts like a proxy between Chrome and Chrome DevTools.
  2. The user need to install a little extension to allow access to Chrome debugger, and to connect to the gateway.
  3. The agent needs to open the dashboard to connect Chrome DevTools to the user.

Gateway

  1. Runnpm install
  2. Runnpm start

Customer

  1. Install chrome extension by using the "Load unpacked extension" option
  2. Openexample/index.htmlin Chrome.
  3. Click "I need help"

Agent

  1. Openhttps://localhost:8000/json
  2. Find thedevtoolsUrlproperty for the connected client
  3. Open thedevtoolsUrlurl in Chrome
  4. Bam!

项目主页:http://www.open-open.com/lib/view/home/1433316605088

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1433316605088.html
程序调试 browser-remote