Add debug option to show captured URL