===How to debug NodeJS apps in production mode=== **Step 1 :** Log into N99panel. From under N99panel dashboard, click 'Node Apps' {{:nodejs:click-node-apps.png?direct&400|}} \\ **Step 2 :** Click on 'Manage App State' link/button against the listed NodeJS production mode app {{:nodejs:screenshot_capture_-_2025-04-10_-_12-16-45.png?direct&600|}} \\ **Step 3 :** Select the 'State Manager' to 'Debug' and click the Submit button {{:nodejs:screenshot_capture_-_2025-04-10_-_12-18-24.png?direct&400|}} Upon clicking submit, the system will start the NodeJS App for debugging, and its output would be saved in a file, whose path is shown on the screen. If for some reason, path is not shown on the screen, under the Tasks, that path would be listed. You can then download the debug file via SFTP and study its contents further.