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.

快照原始碼