JetBrains Rider 2018.1 Help

Run/Debug Configuration: .NET Executable

Run | Edit Configurations | new | .NET Executable


ItemDescription
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 Build, Execution, Deployment | Toolset and Build page of JetBrains Rider settings (Ctrl+Alt+S).
To debug with mono runtime, you need:
  • Mono 4.2+
  • Portable PDB in your projects — <debugtype>portable</debugtype> in the .csproj file, or alternatively, generate mdb with pdb2mdb.
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.

ItemShortcutDescription
new Ctrl+N Click this icon to add a task to the list. Select the task to be added, for example:
  • Run External tool — select this option to run an application which is external to JetBrains Rider. In the dialog that opens, select the application or applications that should be run. If the necessary application is not defined in JetBrains Rider yet, add its definition.
  • Run Another Configuration — select this option to execute another run/debug configuration. In the dialog that opens, select the configuration to be run.
  • Build solution — select this option to build the solution before launching the configuration.
  • Publish solution — select this option to execute MSBuild target publish before launching the configuration.
  • Run External tool — select this option to run an application which is external to JetBrains Rider. In the dialog that opens, select the application or applications that should be run. If the necessary application is not defined in JetBrains Rider yet, add its definition.
delete Ctrl+R, D Click this icon to remove the selected task from the list.
edit1 EnterClick this icon to edit the selected task. Make the necessary changes in the dialog that opens.
arrowUp arrowDownAlt+Up/Alt+DownClick 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 pageSelect 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

ItemShortcutDescription
newCtrl+NCreate a run/debug configuration.
deleteCtrl+R, DDelete the selected run/debug configuration.
copyCtrl+DCreate a copy of the selected run/debug configuration.
settingsView and edit the default settings for the selected run/debug configuration.
arrowUparrowDownAlt+Up/Alt+DownMove 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.

folderYou can group run/debug configurations by placing them into folders.

To create a folder, select the configurations to be grouped and click folder. Specify the name of the folder.

Then, to move a configuration into a folder, between the folders or out of a folder, use arrowUp and arrowDown. You can also drag a configuration into a folder.

To remove grouping, select a folder and click delete.

See also, Creating Folders and Grouping Run/Debug Configurations.

Last modified: 11 July 2018