Run/Debug Configuration: .NET Executable
Item | Description |
---|---|
Exe path: | Target executable file that will be launched by this configuration |
Program arguments: | Arguments that will be passed to the executable when the configuration is started. |
Working directory: | You can specify a custom working directory here, otherwise the directory of the target executable will be used. |
Environmental variables: | Here you can specify custom environment variables for the target executable. |
Use mono runtime | If you are working on Windows, you can check how your application works with the mono runtime. JetBrains Rider will use the mono executable specified on the To debug with mono runtime, you need:
| page of JetBrains Rider settings (Ctrl+Alt+S).
Use external console: | By default, the output of .NET Core and mono applications is shown in the Run or Debug window. Use this check box to show the output in an external window. This check box does not affect classic .NET application types (e.g. .NET Console Application) — their output in always shown in an external window. |
Before Launch options
Specify which tasks should be carried out before starting the run/debug configuration.
Item | Shortcut | Description |
---|---|---|
Ctrl+N | Click this icon to add a task to the list. Select the task to be added, for example:
| |
Ctrl+R, D | Click this icon to remove the selected task from the list. | |
Enter | Click this icon to edit the selected task. Make the necessary changes in the dialog that opens. | |
Alt+Up/Alt+Down | Click these icons to move the selected task one line up or down in the list. (The tasks are performed in the order that they appear in the list.) | |
Show this page | Select this checkbox to show the run/debug configuration settings prior to actually starting the run/debug configuration. | |
Activate tool window | If this checkbox is selected, the Run or the Debug tool window opens when you start the run/debug configuration. Otherwise, the tool window isn't shown. However, when the configuration is running, you can open the corresponding tool window for it yourself if necessary. |
Toolbar
Item | Shortcut | Description |
---|---|---|
Ctrl+N | Create a run/debug configuration. | |
Ctrl+R, D | Delete the selected run/debug configuration. | |
Ctrl+D | Create a copy of the selected run/debug configuration. | |
View and edit the default settings for the selected run/debug configuration. | ||
Alt+Up/Alt+Down | Move the selected run/debug configuration up and down in the list. The order of configurations in the list defines the order in which the configurations appear in the corresponding list on the main toolbar. | |
You can group run/debug configurations by placing them into folders. To create a folder, select the configurations to be grouped and click . Specify the name of the folder. Then, to move a configuration into a folder, between the folders or out of a folder, use and . You can also drag a configuration into a folder. To remove grouping, select a folder and click . See also, Creating Folders and Grouping Run/Debug Configurations. |