Compile line of tag when debug is enabled. Also add missing line info.