kj_utility_tool
v1.1.2
Published
Debugging tool
Readme
UtilityTool2.0
Usage
This debugging tool displays information about your application.
Installation
To install this tool use the command:
npm i --save kj_utility_toolTo run the application in debug mode you will need to run:
DEBUG=true npm startDebugging
To use this debug tool in the application you must put this line at the top of the file if it is not already there.
const utility = require('kj_utility_tool');After the tool has been included you can then console log any information using this line of code.
utility.debug('Message to be displayed.', Status Code);Sample
utility.debug('App route has been hit.', 200);Response
App route has been hit. 200
===========================