If you are using PHPStorm there is a Plugin especially for DDEV which allows to turn on xdebug, IDE db access with all those features. Its working like a charm to work with this Plugin inside this IDE. https://plugins.jetbrains.com/plugin/18813-ddev-integration