debug bt detection