TISTUD-4834 Fixing a bug with saving the debug options.