Created
November 28, 2011 19:36
-
-
Save musicm122/1401675 to your computer and use it in GitHub Desktop.
Turn On IIS Debugging
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
@echo off | |
:: //http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/ | |
:: APPCMD (command) (object-type) <identifier> < /parameter1:value1 ... >* | |
:: start /wait notepad.exe | |
echo "Turn IIS Debugging On ..." | |
start "Turn IIS Debugging On" /wait C:\Windows\System32\inetsrv\APPCMD SET Config /section:asp /appAllowDebugging:True | |
echo "Turned ON" | |
start "Restarting IIS" /wait IISRESET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment