Add debug/logging to plugin dependency checks.