Connect the Java Debugger

Studio 7.9 disconnects the Java debugger by default. The following steps show you how to connect your Java debugger if you need to debug Java code in Studio:

  1. Open the preferences view in the manner appropriate to your OS:

    • In MacOS, either navigate to Anypoint Studio > Preferences…​ or press cmd + ,.

    • In Windows and Linux, navigate to Window > Preferences…​.

  2. Expand Anypoint Studio in the left navigation bar, and select Debugger,

  3. Select Connect Java Debugger.

    connect java debugger
  4. Select Apply and Close.

Note that connecting the Java debugger in Studio can cause performance degradation in your subsequent redeployments.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub