express-chrome-logger

Debug your express app using the Chrome console.

express-chrome-logger

Debug your express app using the Chrome console.

Install the chrome extension from https://chrome.google.com/webstore/detail/chrome-logger/noaneddfkdjfnfdakjjmocngnfkfehhd

$ npm i express-chrome-logger
var express = require("express");
var app = express();
 
app.use(require("express-chrome-logger"));
 
app.get("/", function(reqres) {
  res.console.log("Hello", "console!");
  res.console.warn("Warning!");
  res.console.error("Error!");
  res.console.dir(req.headers);
  res.send("");
});
 
app.listen(3000);