English | 中文
PageSpy is a remote debugging tool for web project.
Based on encapsulation of native web APIs, it filters and transforms the parameters of native methods when called, and converts into messages with specific format for consumption by the debugger client. The debugger presents ui in an interactive devtools-like for easy viewing after receives the message data.
It's PageSpy show time whenever you can't debug code with local devtools! Let's see the following instances:
Save communication time, improve collaboration efficiency: Telecommuting and cross-regional collaboration becoming more and more common,effective collaboration between programmers and testers become extremely important. However, traditional communication such as email, telephone, and video conferencing suffer from inefficient communication, incomplete issue information, and misunderstanding or misjudgment, etc. PageSpy provides project runtime info for technicians to view at the debugger client, and testers no longer need to provide issue information to technicians frequently by text, screenshot, and recording screen.
Accurately troubleshoot to avoid looking a needle in the ocean: When an application has a white screen or other similar fatal problems on the user's device, it has always been a difficult problem for technicians to quickly locate the error, accurately troubleshoot and fix it. Traditional methods of locating problems include data monitoring and log analysis, which not only consume a lot of time and energy to analyze and diagnose problems, but also rely heavily on technicians to understand business scenarios and code implementation.PageSpy presents the error message directly to the technician, eliminates other interference, just shows the code!
For data security and your convenience, we provide a complete and out-of-box deployment solution.
docker run -d --restart=always -p 6752:6752 --name="pageSpy" ghcr.io/huolalatech/page-spy-web:release
Once the deployment is successful, the Inject SDK
menu will be at the top, and you can view how to
configure and integrate in the business project by click the menu.
Show the
console.<log | info | warn | error>
log data, support execute code;
Show the request of
fetch
|XMLHttpRequest
|navigator.sendBeacon
;
Show the current pageview and HTML node tree;
Show the cache of
localStorage
|sessionStorage
|cookie
;
Show the userAgent info and some APIs compatibility;
Besides of above, you will get the realtime notification when there have new data or data changed.
- Clone the repo:
git clone https://github.com/HuolalaTech/page-spy-web.git
- Install the deps:
yarn install
- Local development:
# frontend
yarn start
# backend
cd backend/bin
go run local.go
- Build for production
yarn build:client