Whenever IE8 encounters an error on a web page, it may or may not ask you whether you want to debug the error. Unless you are the creator of the page, there really is no point in trying to debug someone else’s programming.
The script-debugging alert can be different from user to user depending on whether you have certain programs installed on your computer. This alert can become very annoying unless you are actively debugging your own code or the code of someone you work for.

click to enlarge
To disable the script debugging alerts in Internet Explorer 8, click on TOOLS on the menu bar and then click on INTERNET OPTIONS (see figure 1). Then, click on the ADVANCED tab in the INTERNET OPTIONS window that opened. In the SETTINGS section of the windows and in the BROWSING options (see figure 3), be sure the following options are checked:
Disable Script Debugging (Internet Explorer)
Disable Script Debugging (Other)
Now IE8 will no longer annoy you with questions and alerts about whether you want to debug errors.