How to run JetBrains Rider in Internal Mode
The “Internal mode” is designed by Rider developers for testing purposes: it adds additional assertions and diagnostics and enables exception reporting. In production builds, exceptions are silently logged and not reported to the end-user. There is no need to turn “Internal mode” on for daily work, but Rider team members can ask a user to enable it to collect additional logs or dumps.
Via JetBrains Toolbox:
- Open JetBrains Toolbox;
- Find the installed JetBrains Rider there;
- Click on the "three dots" icon and then on the Settings menu item:
- On the "Rider Settings" page, expand the "Configuration" node, hit the "Edit JVM options..." and paste the "-Didea.is.internal=true" key (without double quotes) to the end of the file;
- Save your changes;
- Run JetBrains Rider
Via JetBrains Rider;
- Open a solution in JetBrains Rider;
- Open "Help | Edit Custom Properties";
- Paste "idea.is.internal=true" (without double quotes) to the file;
- Save it;
- Restart JetBrains Rider
How to check that Internal mode is ON
There are the following menu items:
- View | Tool Windows | Internal;
- Tools | Internal Actions (Rider);
Please sign in to leave a comment.
A line saying what "internal mode" is about would clarify a lot.
I'm currently using v1.6.2914 of Toolbox. I do not see a "Custom options for Java virtual machine textbox." I was able to enable internal mode by clicking the 'Edit Java Virtual Machine options' button and adding the referenced line to the vmoptions file.
Bcook Thanks for the notice, I have edited the article.
Yeah not sure if it's this: https://www.jetbrains.com/help/resharper/sdk/Extensions/InternalMode.html but agree, some sort of holistic reference system to documentation would be fabulous... trying to track down bugs with Rider is painful.
Jose, Bradley
Thanks for your feedback! Yes, an internal mode in Rider is somewhat similar to ReSharper's but includes IntelliJ internal actions and Rider specific actions and diagnostics. It is designed for testing purposes: adds additional assertions and diagnostics and enables exception reporting. In production builds, exceptions are silently logged and not reported to the end user. There is no need to turn “Internal mode” on for a daily work, but Rider team members can ask a user to enable it to collect additional logs or dumps. I have included this information in the article as well.
Is source code of this actions available, at least partially?
It seems that you need to close ALL Rider instances for this change to take effect. It is not enough to start a new instance.