Forced staging scripts to be used in debugging

This commit is contained in:
Rick Falkvinge
2014-11-13 03:43:40 +01:00
parent 30fe1addc3
commit d11939051b
+2 -2
View File
@@ -17,9 +17,9 @@ namespace Swarmops.Frontend.Controls.v5.UI
{
externalScriptUrl = "/Scripts/ExternalScripts";
}
else if (PilotInstallationIds.IsPilot(PilotInstallationIds.DevelopmentSandbox))
else if (System.Diagnostics.Debugger.IsAttached || PilotInstallationIds.IsPilot(PilotInstallationIds.DevelopmentSandbox))
{
externalScriptUrl += "/staging"; // use staging area for new script versions on Sandbox
externalScriptUrl += "/staging"; // use staging area for new script versions on Sandbox and for all debugging
}
if (Package == "easyui")