Docker: 'debug' is not a docker command

Hi! Lately I’ve read about the docker debug command, and I was hoping to give it a go on my machine. For context, I have a linux (Manjaro) machine with Docker 27.2.1. Note that I have the docker cli installed, but not docker desktop.

Anyways, for some odd reason my docker does not recognize the command “debug” even though I am logged in with my docker business account.

Client:
 Version:           27.2.1
 API version:       1.47
 Go version:        go1.23.1
 Git commit:        9e34c9bb39
 Built:             Fri Sep 13 21:18:02 2024
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          27.2.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.23.1
  Git commit:       8b539b8df2
  Built:            Fri Sep 13 21:18:02 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.7.22
  GitCommit:        7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c.m
 runc:
  Version:          1.1.14
  GitCommit:        
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Additionally, I can’t seem to find any info on what version of the CLI docker debug works, or if its a docker-desktop only feature.

Does anyone know why this happens?

Docker debug is a premium feature that requires a Pro, Team or Enterprise Docker subscription

It comes with Docker Desktop, but might be available for installation via the CLI. Either way, it does not come built-in with the Docker Engine you have installed