Add debug flag to provide more information about components when set

Add a flag that when set provides useful information for debugging.