Add debug print for link trail regexps to debug hang in production

This is a temporary debug print so that we can check if (and if so, which)
regexp causes the worker hangs in production.

Change-Id: I4948fdb1b930950161be00eb53c1ffcecfeb2a32
Merge "Add debug print for link trail regexps to debug hang in production"