Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vConsole

> 编程语言
Open source

A lightweight, extendable front-end developer tool for mobile web page.

17.5K stars0 likes0 views
WebsiteGitHub

About

A lightweight, extendable front-end developer tool for mobile web page.

English | 简体中文

vConsole

A lightweight, extendable front-end developer tool for mobile web page.

vConsole is framework-free, you can use it in Vue or React or any other framework application.

Now vConsole is the official debugging tool for WeChat Miniprograms.


Features

  • Logs: console.log|info|error|...
  • Network: XMLHttpRequest, Fetch, sendBeacon
  • Element: HTML elements tree
  • Storage: Cookies, LocalStorage, SessionStorage
  • Execute JS command manually
  • Custom plugins

For details, please see the screenshots below.


Release Notes

Latest version:

Detailed release notes for each version are available on Changelog.


Guide

See Tutorial for more usage details.

For installation, there are 2 primary ways of adding vConsole to a project:

Method 1: Using npm (Recommended)

$ npm install vconsole
import VConsole from 'vconsole';

const vConsole = new VConsole();
// or init with options
const vConsole = new VConsole({ theme: 'dark' });

// call `console` methods as usual
console.log('Hello world');

// remove it when you finish debugging
vConsole.destroy();

Method 2: Using CDN in HTML:

<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script>
  // VConsole will be exported to `window.VConsole` by default.
  var vConsole = new window.VConsole();
</script>

Available CDN:

  • https://unpkg.com/vconsole@latest/dist/vconsole.min.js
  • https://cdn.jsdelivr.net/npm/vconsole@latest/dist/vconsole.min.js

Preview

http://wechatfe.github.io/vconsole/demo.html


Screenshots

Overview

Light theme Dark theme

Log Panel

Log styling Command line

System Panel

Performance info Output logs to different panel
console.log('output to Log panel.')
console.log('[system]', 'output to System panel.')

Network Panel

Request details

Element Panel

Realtime HTML elements structure

Storage Panel

Add, edit, delete or copy Cookies / LocalStorage / SessionStorage

Documentation

vConsole:

  • Tutorial
  • Public Properties & Methods
  • Builtin Plugin: Properties & Methods

Custom Plugin:

  • Plugin: Getting Started
  • Plugin: Building a Plugin
  • Plugin: Event List

Third-party Plugins

  • vConsole-sources
  • vconsole-webpack-plugin
  • vconsole-stats-plugin
  • vconsole-vue-devtools-plugin
  • vconsole-outputlog-plugin
  • vite-plugin-vconsole

Feedback

QQ Group: 497430533


License

The MIT License

GitHub Issues· 50 open

View all on GitHub
  • #740

    Uncaught TypeError when assigning null to xhr.onreadystatechange/onprogress (breaks hls.js abort)

    Updated Sep 15, 2026
  • #595

    vc-panel有时会被遮挡,建议可以用options自定义panel和按钮的z-index值

    TodoUpdated Aug 25, 2026
  • #735

    处理流式数据的错误报警

    Updated Jun 9, 2026
  • #734

    Prototype Pollution in network.model.ts

    Updated Apr 16, 2026
  • #716

    查看network时,看不到response的数据,点击response没有反应

    Details wantedUpdated Mar 12, 2026
  • #592

    在Storage里使用编辑功能修改key值,保存会自动把key和value变为空

    Updated Dec 5, 2025
  • #602

    苹果手机无法复制console.log里打印的信息

    Details wantedUpdated Mar 12, 2025
  • #707

    开发环境不报错,生产环境报错,版本3.15.1

    Updated Feb 13, 2025
  • #590

    vConsole 重写了全局 fetch 导致 native api 类型校验不通过

    TodoUpdated Dec 16, 2024
  • #689

    版本v3.15.1,vconsole底部ok按钮点击,样式错乱

    Updated Aug 21, 2024

Highlights

  • •Logs: console.log|info|error|...
  • •Network: XMLHttpRequest, Fetch, sendBeacon
  • •Element: HTML elements tree
  • •Storage: Cookies, LocalStorage, SessionStorage
  • •Execute JS command manually
  • •Custom plugins
  • •https://unpkg.com/vconsole@latest/dist/vconsole.min.js
  • •https://cdn.jsdelivr.net/npm/vconsole@latest/dist/vconsole.min.js
  • •Tutorial
  • •Public Properties & Methods

> Tags

TypeScriptconsolemobilewechat

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言