If tech debt is important it will show up in a ticket. If not at some point a rewrite will happen. Prioritizing tech debt is something the ticket creators decide.
This is how you get tech debt worded as users stories that don't make any sense, with confused PMs that don't know how to prioritize it vs features because the affect on the product is not clear.