Visualizing mip levels

Many years ago, there was a feature to false colorize each mip level of a texture to easily see which mip level was in use. Level 0 was magenta, level 1 was cyan, level 2 was yellow etc.

I can’t see anything like this in the current code that does this, is there a way to visualize the mip levels?

Cheers
John