Enable testing directly from the IDE when debugging by disabling security impersonation (it is not needed during debugging).