Fork behavior is controlled by the DER_DBG_FORK environment
variable.
The DER_DBG_FORK environment variable can have
any of these values:
- PARENT: The debug session ignores calls to fork().
- BOTH: The parent process continues past the fork().
The child process is stopped under the debugger at the fork().
You may then debug in the normal way or detach from the process.
- BOTHRUN: Behaves in the same manner as BOTH,
however the child process is not stopped.