loading
Preparing LoginRadius developer resources
Mission: Help enterprises accelerate digital transformation with our fully-managed Customer IAM technology.
Skip to main content

Debug Console

The Debug Console streams real-time node execution data to your browser while you preview a workflow. Use it to trace the execution path, inspect node outputs, and catch failures before promoting to production.

Before You Start: Two Conditions Required

Debug logs only appear when both of these are enabled. Enabling just one will show nothing.

CONDITION 1: WORKFLOW SETTING
Enable Debug Mode on the workflow
When creating or editing a workflow, set Debug Mode to true in the workflow configuration.
CONDITION 2: PREVIEW URL
Include debugMode=true in the preview URL
In workflow preview, enable Debug Mode so the preview URL includes debugMode=true as a query parameter.

How It Works

When both conditions are met and a user progresses through a workflow preview:

  • After each stage executes, the stage output is stored in the workflowSession.
  • The workflow document is updated with the latest execution details.
  • The page reads the streamed data from the workflowSession and renders it in the Debug Console panel.

This gives you a step-by-step breakdown of every node: what ran, what the outcome was, and what path the flow took.


Debug Preview URL

https://{appName}.devhub.lrinternal.com/workflow?workflowName={workflowName}&client_id={oidc_client_id}&debugMode=true

Reading the Console: Log Fields

Each entry in the Debug Console corresponds to one node execution:

FieldWhat it tells you
NodeThe workflow node that just executed
LogHigh-level outcome message from the backend
DescriptionDetailed internal execution context: especially useful for Script nodes

Script node troubleshooting

For Script nodes, the Description field contains the most detail. If a custom script behaves unexpectedly, start here: it often surfaces the exact error or unexpected data condition.


Example Output

Successful node execution
NodeLogDescription
Send EmailSuccessfully executed operationThe operation was completed successfully.
Failed node execution
NodeLogDescription
User ExistsUser exist operation failedFailed to verify if the user exists.

What to Use It For

  • Trace which nodes executed and in what order during a test run.
  • Confirm whether a node took the true or false output path.
  • Inspect Script node behavior using the Description field.
  • Verify that expected data is being passed between workflow stages before going to production.