Saturday, 23 July 2022

NodeJS - Find Process Termination Reason

I'm working on an encrypted NodeJS code. The developer has set a license check, but because it is too old and the domain is no longer valid, the license cannot be verified and the program stops working.

I need to figure out what made the program stop working. I tried using the debugger but I think the debugger wrote a function to block it. When I try to debug, I get the following result. Each step creates a different file.

debugger

I need to find where the process was killed. I tried the code below but nothing returns.

process.on('exit', function(code) {
    return console.log(`exiting the code implicitly ${code}`);
});
zsh: terminated  node index.js

Is there anyone have an idea? Thank you.



from NodeJS - Find Process Termination Reason

No comments:

Post a Comment