Your view must meet the following requirement:
Example setup:
Choose Views Spy in the Style dialog within your view, which will prompt you to configure: