Debugger which allows you to run the application in debug mode and stopping the execution to check the contents of previous building blocks. Debugging the Mule Application with Anypoint Studio is very easy. For running the application in debug mode first you need to set up breakpoint on building block. When application runs in debug mode, it stops immediately after executing the building block with breakpoint.
machine, Studio Visual Debugger listens for incoming connection on port 6666 and ensure that firewall is not blocking port. Set debug point on building blocks in your application by right clicking on studio component as shown below
on your application, then select Debug As < Mule Application. Studio will start application in debug mode and displays the Confirm Perspective Switch window. Click Yes to confirm.
Debugger, you can see message payload and various other properties. Right pane displays various metadata associated with message like Inbound, Variables, Outbound, Session and Record. To go to next step of debugging, then click on Run to processor icon as highlighted in below snapshot.
icon (see below) or press F8. Your application runs until the message reaches the next breakpoint, if any. For more details, Please go to MuleSoft Debugging Documentation.