# Enable debug mode To facilitate troubleshooting, {props.name || 'Module Federation'} provides a debug mode. You can add the FEDERATION\_DEBUG=true environment variable when executing a build or execute `localStorage.setItem('FEDERATION_DEBUG','true')` in the browser to enable the debug mode of Module Federation. Build and add environment variables: ```bash # Debug development mode FEDERATION_DEBUG=true pnpm dev # Debug production mode FEDERATION_DEBUG=true pnpm build ``` Runtime and add environment variables: ``` localStorage.setItem('FEDERATION_DEBUG','true') ``` ## Log information After enabling debug mode, you can see the following information in the console: In debug mode, you will see some logs starting with [ {props.name || 'Module Federation'} ] output in the terminal.