fx 快照

从已连接的目标获取并解析快照。

Connects to a running target and obtains a snapshot that contains useful
information for debugging a target.

Information supplied includes:
- Build information and annotations.
- Kernel and System logs.
- Inspect Data.

If no directory is supplied, a unique one will be generated.

Usage: fx snapshot [(--output-directory|-o)] <DIRECTORY>] -- <TARGET ARGS>

   --output-directory    (Optional) Directory where the files will be stored.
                         Must be an existing directory.

快照源代码