#if DEBUG
if (Debugger.IsAttached)
Debugger.Break();
#endif
// Or use it to skip password validation
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached) return user;
#endif
211500cookie-checkC# break debugger within code