Report question

Question: Way to determine whether executing in IDE or not?