How do I debug in IntelliJ?
In order to debug in IntelliJ follow the below steps:- Select Modify Run Configuration from the Run icon in the gutter. Fill in the Program arguments field with arguments. Near the main method, press the Run button. Select Debug from the menu.