Debugging upon integration and relocating logic