Go to file
2024-05-29 14:12:29 +02:00
dist add topic oriented debugging selection 2018-04-12 19:29:24 +02:00
test add topic oriented debugging selection 2018-04-12 19:29:24 +02:00
ts add topic oriented debugging selection 2018-04-12 19:29:24 +02:00
.gitignore initial 2017-09-18 15:19:18 +02:00
.gitlab-ci.yml upgrade to latest standards 2018-04-12 18:02:48 +02:00
npmextra.json update description 2024-05-29 14:12:29 +02:00
package.json update description 2024-05-29 14:12:29 +02:00
readme.hints.md update description 2024-05-29 14:12:29 +02:00
readme.md add topic oriented debugging selection 2018-04-12 19:29:24 +02:00
tsconfig.json update description 2024-05-29 14:12:29 +02:00

smartdebug

debug the smart way

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month bitHound Dependencies bitHound Code Known Vulnerabilities TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

import * as smartdebug from '@pushrocks/smartdebug';

smartdebug.log('a cool message'); // won't log
smartdebug.enableDebugging();
smartdebug.log('another cool message'); // this message will log

if (smartdebug.debugEnabled) {
  console.log('Hi there!'); // will also log since debugging is enabled
}

For further information read the linked docs at the top of this README.

licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer