Code without debugging is much faster. When you attach a process, the application is already running, the pool is running, so you do not perform some heavy operations in debug mode, for example, the Application_OnStart event and some others.
source share