```^\s+debugger(\s+if\s+.+)?$```?

I'm just a little concerned about that regex being too vague.