Green’s Dictionary of Slang

shagger n.2

[shag v.2 (2)]

(US) a police officer; a person who shadows or follows someone.

[US]G. Milburn ‘Convicts’ Jargon’ in AS VI:6 441: shagger, n. A police shadow.
[US]Monteleone Criminal Sl. (rev. edn).
[US]Wentworth & Flexner DAS.