title: "mz-debug emulator" description: Use mz-debug to debug Materialize Emulator environments running in Docker. menu: main:
parent: mz-debug
weight: 20
mz-debug emulator
debugs Docker-based Materialize deployments. It collects:
mz-debug emulator [OPTIONS]
mz-debug emulator
options{{< yaml-table data="mz-debug/emulator_options" >}}
mz-debug
global options{{< yaml-table data="mz-debug/mz_debug_option" >}}
The mz-debug
outputs its log file (tracing.log
) and the generated debug
files into a directory named mz_debug_YYYY-MM-DD-HH-TMM-SSZ/
as well as zips
the directory and its contents mz_debug_YYYY-MM-DD-HH-TMM-SSZ.zip
.
The generated debug files are in two main categories: Docker resource files and system catalog files.
In mz_debug_YYYY-MM-DD-HH-TMM-SSZ/
, under the docker/<CONTAINER-ID>
sub-directory, the following Docker resource debug files are generated:
{{< yaml-table data="mz-debug/docker_resource_files" >}}
{{% integrations/mz-debug/system-catalog-files %}}
{{% integrations/mz-debug/prometheus-files %}}
{{% integrations/mz-debug/memory-profiles %}}
mz-debug emulator \
--docker-container-id 123abc456def