I have a simple nodejs application like
...
function checkTermination () {
console.log('start closing ...');
...
}
process.on('SIGTERM', checkTermination);
process.on('SIGINT', checkTermination);
I'm debugging it with Visual Studio Code.
Is there an opportunity to send some signals like SIGINT
, SIGTERM
to the application with "Visual Studio Code" ? How can I do this?
When launched:
'SIGINT'
signal to your process
'SIGKILL'
When attached to:
See https://github.com/microsoft/vscode-node-debug/issues/1#issuecomment-405123769
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.