How do you approach debugging a connectivity issue between a client application and an enterprise database?