被探测进程的输出和退出代码
🌐 Output and exit codes from the probed process
探测模式仅将最终探测报告打印到 stdout,并且在其他情况下会屏蔽子进程的 stdout/stderr。当探测会话结束时,node inspect 通常以代码 0 退出,并将最终报告打印到 stdout。如果子进程在探测会话结束前以非零代码退出,最终报告会记录一个终止 error 事件,以及退出代码和捕获到的子进程 stderr。在这种情况下,探测进程本身仍然以代码 0 退出。
🌐 Probe mode only prints the final probe report to stdout, and otherwise silences
stdout/stderr from the child process. When the probing session ends,
node inspect typically exits with code 0 and prints a final report to
stdout. If the child process exits with a non-zero code before the
probe session ends, the final report records a terminal error event along
with the exit code and captured child stderr. The probing process itself
still exits with code 0 in this case.
无效的参数以及严重的启动或连接失败可能导致探测进程以非零代码退出,并在标准错误输出中打印错误信息,而不会生成最终的探针报告。
🌐 Invalid arguments and fatal launch or connect failures may cause the probing process to exit with a non-zero code and print an error message to stderr without a final probe report.