Skip to main content

What tools are there to debug code in DWKit?

You can debug code in IDE Visual Studio or JetBrains Rider. In order to debug the code that you entered in CodeActions you need to do the following:

  1. Change CodeActionsDebugMode option in DWKit section to true in appsettings.json configuration file.
  2. Add /*break*/ or
if (System.Diagnostics.Debugger.IsAttached) {
System.Diagnostics.Debugger.Break();
}

to your code.