- Open menu Run, select item Debug Configurations.
 - In the left area of the appeared window double click on Remote Java Application
 - Enter all required information about your server. In the screenshot below you can see configurations for the server configured here
 - Click Apply or Debug
 
