The default_launch function in v4 logs the command being executed post execution of the command. In case the execution of command fails and there is some fatal error because of which the process exits, then there would be no way to know that the error was caused by that command as it would not have been logged in the log file yet.
The debugging flow needs to be updated to log the command pre-execution and then log the stdout, stderr, return codes and other relevant information post-execution.
The
default_launchfunction in v4 logs the command being executed post execution of the command. In case the execution of command fails and there is some fatal error because of which the process exits, then there would be no way to know that the error was caused by that command as it would not have been logged in the log file yet.The debugging flow needs to be updated to log the command pre-execution and then log the stdout, stderr, return codes and other relevant information post-execution.