HF RL Explorer

Task: Programmatically Detect Debug Mode in Node.js

Task: Programmatically Detect Debug Mode in Node.js: a task in Terminal-Lego-15k (Harbor dataset). Create a Node.js module that can programmatically detect whether the Node.js process is running in debug mode. Debug mode can be triggered by various flags such as --inspect , --inspect-brk , --debug…

The task

Create a Node.js module that can programmatically detect whether the Node.js process is running in debug mode. Debug mode can be triggered by various flags such as `--inspect`, `--inspect-brk`, `--debug` (legacy), or `--debug-brk` (legacy).

Part of PrimeIntellect/Terminal-Lego-15k.