PHP `xdebug` extension is not active in CLI

Edit on GitHub

Description

PHP xdebug extension is not active in CLI.

Solution

Exit the CLI session and enter it with the -x argument:

  • docker/sdk cli -x
  • docker/sdk testing -x