So I'm running
sudo node app.js
var express = require("express");
var app = express();
app.get("/",function(req,res){
res.send("<h1>Oi mate</h1>");
});
app.listen(80);
And the process freezes
How do I see the output like other command line tools would have --verbose
There are several ways to enable Verbose Mode. During startup, the screen may display which key(s) to press on the keyboard to enable Verbose Mode. Usually, users would press the Esc (escape) key for Linux, or the keyboard shortcut Ctrl + V for Microsoft Windows, and Command + V for macOS.
The verbose option specifies that you want to display detailed processing information on your screen. This is the default. When you run the incremental, selective, or archive commands, information is displayed about each file that is backed up.
By default, the verbose message stream is not displayed, but you can display it by changing the value of the $VerbosePreference variable or using the Verbose common parameter in any command.
You can enable verbose logging in all core modules with the following commandline form:
NODE_DEBUG=cluster,net,http,fs,tls,module,timers node app.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With