![]() ![]() (try pasting the code above directly to a file) Now we have to just put the message we want to write, for example hello var debug = require('debug')('name_to_call') ![]() Var debug = require('debug')('name_to_call') Then you need to add this to import the module to the file in which you want to run the debug You will see that the following lane has been added to you package.json (which has all the npm modules charged to your proyect) ![]() Firstly you need to install the debug module using ![]()
0 Comments
Leave a Reply. |