# Do I need to modify my Node.js application code to use yCrash?

No. Hook Mode is enabled entirely through the NODE_OPTIONS environment variable, and Signal Mode through native Node.js command line flags. Neither requires a code change or an npm dependency added to your project.

The only requirement is restarting your application once, after the environment variable or flags are in place, since the hook and Node's diagnostic flags both only take effect at process startup.