If you need to scan every line you can use the -i switch as Adrenalin mentioned, but a custom window (or a file) isn't needed at all. Just use /debug -i nul <alias>
"nul" is a special system device to which you can redirect stuff you don't need, and /debug (unlike commands like /write, that claim "nul" isn't a file) allows you to use it.