add debug information for search controller