Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/debug-js/debug
A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers
https://github.com/debug-js/debug
1bf78dcf0d1ade529d9a7f614ba5442bac13af71 authored almost 10 years ago
171ec2d12b102c02a5563181186495fa0ebd8313 authored almost 10 years ago
Closes #176.
Squashed commit of the following:
commit ae4d5f88497d7ce59f476e002ea9b703d3129159...
94071a2f0664b7226afc9da1eee1af861ef84fc5 authored almost 10 years agochanged bower package name
7a35a6f24cb5a1df199ffcf7b20d997b8c9b48ae authored almost 10 years agoUpdated documentation about using debug in a browser
9272ee0470ba5e5938e4bc6e140a355a07e0628c authored almost 10 years agob1a0f7711c9190edae988f657b50dc5e7985daad authored almost 10 years ago
df9429927c386b34728caad8f7d8550d2fe7b1bb authored about 10 years ago
fix: security error on safari - closes #167
2c384416fb68ecbad32dee68a1e9e9d073ad2d08 authored about 10 years ago988592b640bf10faac2d8ebafa3135c0f3351123 authored about 10 years ago
24cc5c04fc8886fa9afcadea4db439f9a6186ca4 authored about 10 years ago
It's a global, so we must check with typeof otherwise
an error will be thrown if `console` is un...
4fd6f3985e8b9e180db9e4ba01b0d4d8f835b8d4 authored about 10 years ago
add support for chrome apps
a98c28309582135d1849ecc787a9052e1e7fa7e1 authored about 10 years agoAdded windows usage remarks
85bd49974c539b7518b1e6b5cd33892a081dba73 authored about 10 years agoAdd bower.json to properly support bower install
055a60b05b34a6e0f9cc53cf95c3becddef84a8a authored about 10 years agobrowser: Fixed that no logs output on IE8/9
3a285bef040d964cc7d75f9a4b0626145e69e219 authored about 10 years agoRelated to PR #166
6af0b4d76431cb642ff443f69321c5bb8ba83b8c authored about 10 years agoIE 8/9 reports console methods as objects when using the typeof operator.
https://web.archive.org...
7d6781517f2fd947a64a38e8d28670b6ddedb9a1 authored about 10 years ago
3f97ec6f00fc8844d6ed2a567259e23bd3ebd11e authored over 10 years ago
953162b4fa8849268d147f4bac91c737baee55bb authored over 10 years ago
Closes #146.
e4d021a2232a7df472715e16e81d758131033774 authored over 10 years ago019c9ed81eeadc0e0b7ed14a4538809efef98856 authored over 10 years ago
Sorry, this should work now. window.localStorage is undefined in chrome apps.
de8695b6be3dcc665aff3de5e32f49b5f158fd90 authored over 10 years agoe9c730a6e26da297f350c6c7a03f3d5564e28d9f authored over 10 years ago
Add license to package.json
f39956ad29b105e95a956a2b14b8c70578395afd authored over 10 years ago4597df6bd8e8f0ea152aba103bd25416ddd4e167 authored over 10 years ago
Add version to package.json to work with license tools.
7b81f18ab15420e3c3d99c3109b23c0d93c944d1 authored over 10 years agoc61ae82bde19c6fdedfc6684817ff7eb541ff029 authored over 10 years ago
c97a5c1294d14559c5c42168504187a0240adfdc authored over 10 years ago
47f7213611e538812ff095efa155991caec8dc32 authored over 10 years ago
node.js: Use stderr rather than stdout for logging
716c57f647b8c15c6bf04f45f00f6905eeeb706d authored over 10 years agoCloses #120
345996b982519c09bb094614b2f0a0f4d98a7852 authored over 10 years agoabc10a5912f79d251752d18350e269fe0b0fbbf9 authored over 10 years ago
6fd34ac517a68feff00d0dc35ac2836e681ffd38 authored over 10 years ago
Fixes #119.
592429f02565a5b7dd8ff1d6728c34d5a569e757 authored over 10 years ago00d5bdf9a42d332d07a211223354804acb00a2f2 authored over 10 years ago
This way, in Firefox 31, the "main content" of the debug
call will not have any extra whitespace...
7278fcc4e2164f025ccd586bbec1ab76b0d4f021 authored over 10 years ago
update documentation about styled console logs
e8438265270be40d862238889eb0b77441b5faf8 authored over 10 years ago
Annoying since the Web Inspector will add an exclamation point
with a blue circle around it to a...
09e31bb47ad3ead195fb9d51fe37e4e83aa01f3a authored over 10 years ago
Necessary for Firefox v31, which seems to retain the previous
color from a previous %c color for...
Part of #116.
165e937e6dd529588fc3d9761d3f745969d3d054 authored over 10 years agoe5a4ef2c943a60d8658c0b48c7dcab50876c1c45 authored over 10 years ago
3add08ea0c0be11a4107ae2fd0c4edf34793ed1a authored over 10 years ago
93c759961d53ad7f06a1892a8dd0bf4be4a7b9df authored over 10 years ago
Add support for multiple wildcards in namespaces
c8aa92be6d9fbb2bf3800545bee9506b66657508 authored over 10 years agod92fe0e6e0b97cc9a1ac8fe7c5b4e654acbd7de1 authored over 10 years ago
2f70264aad8d2403559421e7c49093ed1797a3c7 authored over 10 years ago
Firefox now support styled console logs since version 31 (actually on aurora) : https://hacks.mo...
aad769a8872fa7a31ccf712ec19014e682e11938 authored over 10 years ago46939bcc1a67ed3a211a2ea2093bbce85473280c authored over 10 years ago
558f604f0788b7632e052e16a021e11b7201025b authored over 10 years ago
Updated color palette for white backgrounds.
abe20e18a83a90a984dcfc83e2342227fc5c4f0b authored over 10 years agod738362777d5e91cb3f485edaadfe86d55543e2e authored over 10 years ago
5f54356b6d803a749b202d4ec563c5af856bb71d authored over 10 years ago
57f1cf2f303263c58097ab12d1e242cf3afece72 authored over 10 years ago
Make console.x configurable.
68e81394162b6607586ca4f8ed1b632958493b28 authored over 10 years ago
Split log() into 2 methods: formatArgs() and log(), allowing log to be
overridden on a per-names...
83f38e56acc0b885e64690c27599fc522390a782 authored over 10 years ago
Find node path using shell/which.
bd0aa4707e8897bead54c3beb4a01a2ff2d72eb4 authored over 10 years agoWithout this patch, Make would fail with the following error:
```
> make
/bin/sh: node: command...
613065a9b4580b6f77efb5435dabbf9e7af67a43 authored over 10 years ago
febc3fe5f5da0ddd95e21652fe8b97571962452c authored over 10 years ago
c1b0c6e9ccf1adefeb424216afc8ffab3ae691e4 authored over 10 years ago
Don't set DEBUG if namespaces is undefined.
462c3b20457460238b7982f54821e9a1bae8dee6 authored over 10 years ago
On Node.js, if you set a process.env field to either null or undefined,
it gets cast to string '...
Feel free to add yourself in a PR if you've contributed a patch
in the past.
9fdd3313be7bb7484c4c9a730f64e6e98f48a574 authored over 10 years ago
4a78aa6c21500ab6cfece18282644dbf4ed7356d authored over 10 years ago
908062b7b2503030890953c10168250e0251885c authored over 10 years ago
91daf2860d8a9f7c65ac67bda4a0cbb587f7c61d authored over 10 years ago
Closes #88.
Closes #90.
Stops the unnecessary /^$/ regexp from being "enabled".
4ddbb61abdff858bafc753d0e22ee45f526ca91a authored over 10 years ago48114629b442e61373e53f9a39000fefcfd089c8 authored over 10 years ago
Fixes #59.
e0b6b07cb63f6fb637aac4b45b1f38927f7ee5ca authored over 10 years agoTo use new browserify standalone build
7df6b473ca1cc3a7a96df81cc294dadc908b30c9 authored over 10 years ago4501edeac60d351eac3cc782894b91e75934d564 authored over 10 years ago
DRYs up some of the logic in the process,
since the "core" color handling code gets
moved to `de...
Now we support the user passing in their own
"%c" fields in `debug()` calls.
Use "browserify" for standalone browser-side builds
9a282f9a41d85147ecb98503432608119c48615f authored over 10 years agoNot used in node/browserify, so not needed.
43b0d51c21134e86014f0ba007dfdabc6b21a35e authored over 10 years ago
Uses browserify to build a `dist/debug.js` file for
standalone browser-side consumption.
44e6af18d35a27c1711201f84291719e54856abe authored over 10 years ago
808c5865b9049b8b754198badfd1169b6e9c2875 authored over 10 years ago
533406869cabae60a070408fd17f4ebff34376f1 authored over 10 years ago
182505d3657b4a4ab27432438a1c583b366e0354 authored over 10 years ago
This is a controversial change as well, but it seems to be
wanted by the community, and usabilit...
More clear for the user to override it this way.
See: #95
Add custom "%n" formatters
40abfe54e86c93546e5b9388a3e602b30e345c2b authored over 10 years ago
@visionmedia pointed out that it is not necessary, which is
good because it was very hacky.
debug: use "ms" module for humanizing the diff
ddd483df2571ae006f948760f45a1e1f1a539eb5 authored over 10 years agob38496e03bcc7937bcf79f2d7f97cd17bfeaec23 authored over 10 years ago
84951941a8dd894220f48243e8f8753e05500989 authored over 10 years ago
So that the browser, node, and possibly the end users can
define their own "%n" formatters for t...
0f61fca93f917abd9a804648ddea4f52ff846ebc authored over 10 years ago
This would be the first external dependency for `debug`,
so it's slightly controversial.
Before the "%c" CSS color value was potentially being
inserted into the wrong place in the argum...
eb80377e34dde7bcf2aa323c80bf0c3f47333b15 authored over 10 years ago
browser: add colors for WebKit browsers and Firebug
b259bc0a109de6c0f420aa66e39d8ded7ef5201d authored over 10 years ago