Created
November 3, 2016 14:36
-
-
Save AntMooreWebDev/39cc8a50adcdfe87fcd0637817f47dcf to your computer and use it in GitHub Desktop.
Throw this in the constructor of the configuration class for EF Code First migrations and the seed method can be debugged.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (System.Diagnostics.Debugger.IsAttached == false) | |
{ | |
System.Diagnostics.Debugger.Launch(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment