This is as lightweight and customizable debugger-tools for node.js that utilizes the terminal and the native colors that exists within the terminal.
The purpose of this console debugger is to help the developer easier find the code that they are debugging with easy customizable colors.
usage
require the pkg
const lineToDebugg = require('node-console-debugger');
lineToDebugg.debugg("debugg code");
the code
in the index.js there is only one function with a colors object that contains some options:
then within the else statement you'll find this line of code:
console.log(colors.fg.Black, colors.bg.Yellow, code, colors.Reset);
-
first arg set debugg text color
-
second arg set debugg background color
-
third args is the line thats being debugged
-
resets the console to normal
No dependencies!
Open source feel free to do what-ever
made by 2lach 2018