Debugger attaches to a process, we're using two of those. This means that we need to call Debug.waitForDebugger() and then manually attach to the new process every time we want to debug an automatically executing event.
We need to call the waitForDebugger() function automatically when the first process has a debugger attached, but not when it doesn't. This is for QOL
Debugger attaches to a process, we're using two of those. This means that we need to call
Debug.waitForDebugger()and then manually attach to the new process every time we want to debug an automatically executing event.We need to call the
waitForDebugger()function automatically when the first process has a debugger attached, but not when it doesn't. This is for QOL