ask for trouble

definition: to persist with actions or an attitude despite the probability that it will cause trouble
example: Committing crimes in front of cops is asking for trouble.
speech part: verb
synonyms: ask for it

How ask for trouble is being used?