Right click on the name of the main function and select Debug

The green arrow simply starts the current configuration when right-clicking creates one. You can create and configure configurations using the Edit Configurations button on the left.

source share