How to obtain debug logs from FDK? Enabling debug mode

The Freshworks Developer Kit (FDK) can be run in debug mode to aid app troubleshooting. Since the FDK simulates the production environment, it is often easier to catch bugs by analyzing the output of the debug mode.

if it is Windows - Powershell

$env:NODE_DEBUG='fdk'; fdk run`

If it is Windows - Command Prompt

set NODE_DEBUG=fdk
fdk run

If it is Mac/Ubuntu/Linux/WSL - Terminal

NODE_DEBUG=fdk fdk run