Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Debugging in PhpStorm with DDEV Integration doesn't work as expected #13

@stasadev

Description

@stasadev

Preliminary checklist

  • I am using the latest stable version of DDEV
  • I am using the latest stable version of this add-on

Expected Behavior

Xdebug should work as expected.

Actual Behavior

Debugging in PhpStorm doesn't work as expected, because DDEV Integration keeps removing the server name (even if you add it back):

Image

Steps To Reproduce

ddev config --webserver-type=generic
ddev add-on get stasadev/ddev-frankenphp
ddev restart
phpstorm .

And start debugging, it won't work until you change the server name, but after ddev restart it's empty again.

Anything else?

That's probably happening because DDEV_PRIMARY_URL or some other variable is empty in the web container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions