Starting the Debugger Outside of the Project's Main ClassIf you have multiple executable classes in your project, there might be times when you want to start the debugger from a class different from the one that is specified as the project's main class. To start the debugger on a class other than the project's main class, right-click the file's node in the Projects window or Files window and choose Debug File. You can start the debugger on a file only if it has a main method. |