JetBrains Rider 2023.2 Help

Running

JetBrains Rider lets you run code in any of the supported languages. Each time you execute code in JetBrains Rider, you are using a specific run/debug configuration, which defines what part of your solution is executed and which parameters and environment to use.

Thus, you can execute a single static method, start an application, run a unit test, execute your code on a web server, debug multi-process environment, and more — all with different types of run/debug configurations.

You can execute each of the configurations in two ways:

  • Run (without debugging) — this way is mostly helpful for testing whether your code executes at all and how it behaves.

    You can run the currently selected run/debug configuration by pressing Shift+F10, clicking App actions execute Run on the toolbar, or choosing Run | Run 'configuration name' from the menu.

    Alternatively, you can press Alt+Shift+F10 or choose Run | Run... from the main menu . This will display a popup with all run/debug configurations that you have set up, letting you choose what to run:

  • Debug — this way you start the code targeted by the selected configuration and automatically attach the debugger to it, meaning that with the debugger features you will be able to see exactly how your code executes and find problems in your program.

    You can start debugging of the currently selected run/debug configuration by pressing Shift+F9, clicking App actions start debugger Debug on the toolbar, or choosing Run | Debug 'configuration name' from the menu.

    Alternatively, you can press Alt+Shift+F9 or choose Run | Debug... from the main menu . This will display a popup with all run/debug configurations that you have set up, letting you choose what to debug.

JetBrains Rider: run/debug configuration controls on the toolbar

In this section:

Last modified: 25 October 2023