Socket
Socket
Sign inDemoInstall

hd-debug-tools

Package Overview
Dependencies
11
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hd-debug-tools

混沌大学h5 debug 工具


Version published
Maintainers
1
Install size
18.7 MB
Created

Readme

Source

hd-debug-tools

混沌大学h5 debugger工具。

Based on VConsole

Features

  • view console logs
  • view network requests
  • view document elements
  • view cookies/LocalStorage/SessionStorage
  • view performance info
  • Execute JS command manually
  • Custom plugin
  • error report

Usage

Or, install vim npm:

npm install hd-debug-tools

import to your project:

<script>
import { HDDT, init_sentry } from 'hd-debug-tools

created() {
    new HDDT({
        // ...config
    })
    // 异常上报
    init_sentry({
      tag: "xxx" // page_index
    });
}
</script>

Configure

key含义类型默认值
default_load_script是否在页面最开始加载scriptBooleantrue
enable_body_entry是否开启默认body的entryBooleantrue
enable_url_entry是否开启url entryBooleantrue
url_entry_keyurl入口 keyStringvconsole
url_entry_valueurl入口 valueStringshow
entry自定义entryStringnull

Changelog

changelog.md

FAQs

Last updated on 21 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc