プロジェクト
binnng/debug.js has 210 GitHub stars and 62 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-23 04:49 UTC. Last push 2016-09-03.
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
在手机上打印调试信息。
開発ツールREADME.md
オリジナルdebug.js
在手机上打印调试信息。
快速上手
debug.success("This is success message:)");
debug.error("This is error message:)");
debug.log("This is primary message:)");
debug.log({a: 1, b: 2});
debug.log([1,2,3]);
debug.js为了方便调试,会默认开启捕捉浏览器的报错。如果你不需要这个功能,可以这样禁止它:
debug.silence()
预览

Demo
http://binnng.github.io/debug.js/demo/index.html
API
debug.log()
debug.success()
debug.warn()
debug.error()
debug.danger()
安装
- npm(推荐)
npm install m-debug.js
- bower
bower install binnng/debug.js
- component
component install binnng/debug.js
angular
如果你使用angular:
var app = angular.module("app", [
"binnng/debug"
]);
app.controller("ctrl", function($debug) {
$debug.success("Welcome to debug.js");
});
主页
http://binnng.github.io/debug.js
源码
http://binnng.github.io/debug.js/docs/debug.html
协议
MIT
関連プロジェクトを探す
読み込み中…