Support for showing which keyword matched in the thread.
Add a debug message for matching_keyword.