Contact Us 1-800-596-4880

Studio Debugger

With Anypoint Studio debugger, you can run your application from Studio in debug mode and configure breakpoints to stop application execution at a specific message processor. In the Mule Debugger view, inspect the content of the message as it exists at that point in the flow and evaluate a DataWeave expression against it.

The debugger works with Enterprise Edition runtimes and doesn’t connect to Mule Kernel runtimes.

When you run your application in debug mode for the first time, Anypoint Studio prompts you to load the Mule debug perspective. The Mule debug perspective is a list of views that help you debug your application:

  • Mule Debugger

  • Evaluate DataWeave Expressions

  • Mule Breakpoints

Debug Your Project in Studio

To debug your application in Studio:

  1. Right-click your project in Package Explorer.

  2. Select Debug As > Mule Application.

    Studio requests permission to switch to the Mule debug perspective.

  3. Click Yes.

Alternatively, run your application in debug mode by right-clicking in the canvas and selecting Debug Project, or by clicking (Debug) on the toolbar.

Configure Studio Debugger

Enable precise control over application debugging by setting the debugger connections and maximum values. To modify the default configuration values, click Run > Debug configurations and select the Debug tab.

Option Description Default Value

Connection Properties

Configure the Studio debugger to listen for incoming TCP connections. Click Suspend to pause debugger listening activities.

  • TCP connections: localhost

  • Port: 6666

Debugger Maximum Consumption Stream Properties

Control the maximum amount of data the debugger can consume from a stream when inspecting or debugging applications.

2 MB

Debugger Maximum Payload Collection Size

Determine the maximum size of the payload data that the debugger collects and displays during a debugging session. Manage the memory usage of the debugger to ensure it doesn’t consume excessive system resources to avoid performance degradation or crashes, especially when dealing with large data payloads.

100 bytes