Tech debt that matters:
makes it difficult to write new code ... in a situation where you're guaranteed to write it.
handles current expected situations but will not handle future expected situations without a rewrite.
It's all about trading effort now for effort later and obviously it's an estimate - some things we think we should do end up not being needed ever.Some people might argue that all coding is important toward developing and maintaining competency.
That art quickly moves to the art of abstraction, which is hard and can be an addictive logic puzzle. Writing <html> or the code-you-know-that-will-follow (aka plumbing) is very zen, but maybe not very rewarding in most situations.