1. A computer implemented method for automatically triggering one or more debug sessions, comprising: determining, at a first code module in a computing device, a detected event constitutes an automatic start debug session condition, wherein the detected event is an occurrence of significance to the first code module, and wherein the automatic start debug session condition is a set of one or more start criterions of which the detected event is a part; determining one or more actions for that automatic start debug session condition, wherein each action includes properties of a different one of the one or more debug sessions and at least one of the one or more actions includes at least one stop criterion to automatically stop that corresponding debug session; sending at least one of the one or more actions to a second code module in the computing device upon automatically determining that the second code module should automatically start at least one debug session; setting one or more flags according to each action to start the debug session corresponding to each action; generating a set of one or more debug messages corresponding to the flags that are set; and for each action including the at least one stop criterion: determining to automatically stop the debug session that corresponds to that action according to the stop criterion, and resetting the flags that correspond to that action.