Also remember that in debug, the web server is single threaded. This can cause some issues too - eg if you are making async multiple requests to the web server some may time out. For example I have one page which loads a graph with 20+ sets of data that are loaded individually via REST, in debug I will see some data not load the first time.