def GetEventPid():
    ev = idaapi.get_debug_event()
    assert ev, "Could not retrieve debug event"
    return ev.pid
Custom validation method
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetEventPid--crossover with--dataset/ETHPy150Open tonioo/modoboa/modoboa/core/app_settings.py/GeneralParametersForm.clean