Skip to content

1.4 Rimworld Run Configuration

Gareth Parker edited this page Apr 30, 2026 · 2 revisions

This is only available in the Rider version of this plugin. The plugin provides a Rimworld Run Configuration for Rider, allowing you to quickly build your plugin and launch Rimworld either as a regular program or in debug mode.

Adding your run configuration

To add your Run Configuration, up in the top-right of Rider near your Build button you should be able to Edit Configurations. Doing this will open a Run/Debug Configurations window where you can add a new configuration. Look for a specifically named configuration type called "RimWorld" with the Rimworld logo, and when selecting it you should see the options below

Screenshot 2026-04-30 190003 Screenshot 2026-04-30 190117

The only required option is "RimWorld Path", which should be a path to your RimWorld executable. If you choose, you can define a path to a Modlist.xml file and a .rws save file to launch with that Rimworld Run. If these are specified, Rider will copy these into the Rimworld paths for these files when launching the game, and remove them when you shut it down. Doing this lets you commit a testing save and a testing modlist and use them only when launching Rimworld from Rider, without affecting your Rimworld configuration for other uses.

Debug Mode

Once your Run Configuration has been added, you should see a Run and a Debug button next to it.

Screenshot 2026-04-30 190213

Pressing the Debug button will do the following:

  1. Copy the necessary Dootstop files for your system into Rimworld
  2. Launch Rimworld
  3. Automatically attach your debugger
  4. Remove the Doorstop files copied into Rimworld when you either close the game or disconnect your debugger (which will also close the game)

With Rimworld in Debug mode, you should be able to put debug breakpoints into either your code or the games code. If you're unable to put debug points into your mods C#, check that your project's debug type is set to either "portable" or "embedded". You can do this by right-clicking your C# Project, going into Properties and under "Configurations", configuring the Debug Type.

Screenshot 2026-04-30 190311 Screenshot 2026-04-30 185502

Clone this wiki locally