An open API service indexing awesome lists of open source software.

https://github.com/dlhandsome/we-debug

微信小程序调试工具
https://github.com/dlhandsome/we-debug

Last synced: 11 months ago
JSON representation

微信小程序调试工具

Awesome Lists containing this project

README

          








we-debug

[![Build Status](https://travis-ci.com/dlhandsome/we-debug.svg?token=PfDv3SxcBYsJDq3kuspS&branch=master)](https://travis-ci.com/dlhandsome/we-debug) [![npm-version](https://img.shields.io/npm/v/@we-debug/core.svg)](https://www.npmjs.com/package/@we-debug/core) ![npm](https://img.shields.io/npm/dt/@we-debug/core)

一款灵活、易于拓展的小程序端调试工具


## 功能

- 网络请求抓包

- 错误日志抓取

- 路由信息获取

- UI对比

- ...

## 安装

```bash
npm install @we-debug/miniprogram --save
```

## 使用

1. 在 json 配置中添加 we-debug 组件声明

```json
{
"usingComponents": {
"we-debug": "@we-debug/miniprogram/index/index"
}
}
```

2. 在页面 wxml 中创建 we-debug 组件

```html

```

3. 在 app.js 中初始化 we-debug 相关配置

```javascript
const weDebug = require('@we-debug/miniprogram')

weDebug.init()
```

## 在线体验





## 插件列表

- [自定义页面跳转](./packages/runtime/plugin-navigate)

## 相关链接

- [文档 · Document](https://dlhandsome.github.io/we-debug/#/)
- [开源协议 · The MIT License](http://opensource.org/licenses/MIT)
- [代码示例 · Example](https://github.com/dlhandsome/sail-laboratory/tree/master/miniprogram/pages/we-debug)