Add debugging code to feature spec

Change-Id: I1ce353d9ca7fde9c32e5126c714683c7ce76f9fe