Short cut keys for mac to debug java application

broken image
broken image

If you are new to debugging, the out-of-the-box configuration will work for you. Disabling it allows you to save disk space at the cost of some debugger functionality.Ĭonfigure common debugging properties and behavior in Settings/Preferences | Build, Execution, Deployment | Debugger. This setting is not absolutely required for debugging, however we recommend leaving it enabled. Make sure the Generate debugging info option is turned on (the default setting) in Settings/Preferences | Build, Execution, Deployment | Compiler | Java Compiler. The procedures for attaching to a process and debugging a remote application are covered in separate sections.

broken image

This is the most common case, and it has fewer limitations as compared to more advanced techniques. There is a variety of ways how you can run a debugging session, however, for simplicity this documentation assumes that you are building and running your project from IntelliJ IDEA. This facilitates the process of detecting and fixing bugs in your program. The purpose of the debugger is to interfere with the program execution and provide you with the information on what’s happening under the hood. Depending on the installed/enabled plugins, you can also debug code written in other languages.ĭuring a debugging session, you launch your program with the debugger attached to it. IntelliJ IDEA provides a debugger for Java code.