
eruda
An in-page developer console for mobile browser debugging
free(有免费版)21.3k github stars
eruda 简介
Eruda is a browser debugging tool that places a developer console inside a web page. It is useful when investigating mobile browser problems without a desktop developer-tools panel. It is not an AI code generator.
Install the npm package or load the published browser script, then call eruda.init() on the page you want to inspect. Its panels cover logs, DOM elements, requests, storage and source files. The official documentation recommends conditional loading or a development-only import so ordinary visitors do not download the debugging bundle.
核心功能
- Inspect JavaScript logs and DOM state.
- View request status and browser storage.
- Inspect HTML, JavaScript and CSS source files.
优点 & 缺点
缺点
- • Loading the debugging bundle for all visitors adds unnecessary page weight.