Skip to content
Related Articles

Related Articles

Node.js Property

View Discussion
Improve Article
Save Article
  • Last Updated : 08 Mar, 2021

The is an object whose methods are used to generate diagnostic reports for the current process. The signal used to trigger the creation of a diagnostic report. Defaults to ‘SIGUSR2’.


Return Value: This property returns the generated diagnostic reports for the current process.

Below examples illustrate the use of the property in Node.js:



// Node.js program to demonstrate the 
// Property 
// Include process module 
const process = require('process'); 
// Printing property value 
console.log(`Report signal: ${}`);

Command to run:

node index.js


Note: The above program will compile and run by using the node filename.js command.


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!