Outline the active raster layer's canvas bounds (document space) so its size is visible, especially when it differs from the document after a resize. Two strokes sharing one dash pattern, the yellow offset by a dash to fill the black's gaps - interlocking marching-ants. Sizes divided by zoom so the dashes stay ~constant on screen.