# Configuring diagnostic, method trace and transaction tracking You can use environment variables to enable/disable method trace and transaction tracking capabilities. ## Diagnostic By default, diagnostic is disabled. To enable it, set the `KNJ_ENABLE_DEEPDIVE` variable to `True`. ## Method trace By default, method trace is disabled. To enable it, set the `KNJ_ENABLE_METHODTRACE` variable to `True`. ## Transaction tracking By default, transaction tracking is disabled. To enable it, set the `KNJ_ENABLE_TT` variable to `True`. **Parent topic:** [Node.js Data Collector for IBM Application Performance Management (APM)](../README.md)