Book Image

IntelliJ IDEA Essentials

By : Jaroslaw Krochmalski
Book Image

IntelliJ IDEA Essentials

By: Jaroslaw Krochmalski

Overview of this book

Table of Contents (17 chapters)
IntelliJ IDEA Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Debugger settings


At the beginning, you will have to configure the roots, dependencies, and libraries to be passed to the compiler before the debugging process starts. This can be done in the Project Structure dialog box. We described the project structure in Chapter 2, Off We Go – To the Code. Refer to this chapter to recall how to set up the project structure.

The debugger-related configuration can be found in the Settings dialog box, in Build, Execution, Deployment. Launch the Settings dialog box by picking Settings from the File menu or just use the Ctrl + Alt + S (PC) or cmd + , (Mac) keyboard shortcut.

The important option from the debugging perspective is to make IDEA generate debugging info for the compiled classes. This option is enabled by default; you can find it by navigating to Java Compiler | Generate Debugging Info.

The debugger itself can be configured in the Debugger section. As you may remember, you can quickly find a specific option by entering search keywords in the search...