---
title: "debug command"
canonical: "https://docs.infoblox.com/space/NetMRI753/42077119/debug%20command"
format: markdown
---
The `debug` command enables debug level logs from NetMRI services to be displayed and compiled into a text file.

> ⚠️ **Note**
> ⚠️ 
> ⚠️ Do not run the `debug` command from your system without instructions from Infoblox Support.

# Syntax

To enable or disable debugging, run the following command:

`debug <service> enable|disable`

To view a list of services or devices for which debugging is or can be enabled, run the following command:

`debug show-active|debug show-valid`

The following table describes the subcommands of the `debug` command.

| **Subcommand** | **Description** |
| --- | --- |
| `enable` | Enables debugging for the service. |
| `disable` | Disables debugging for the service. |
| `show-active` | Displays the services or devices with enabled debugging. |
| `show-valid` | Displays the services for which debugging can be enabled. |