shyim / shopware-docker

Easy to use Docker Installation for Shopware 5 and Shopware 6
MIT License
115 stars 27 forks source link

How can I change the idekey from xDebug? #104

Closed lucyd-dev closed 3 years ago

lucyd-dev commented 3 years ago

I'm using this solution under WSL 2. Everything works so far. But when I want to use xDebug with VS Code, it doesn't work. There is a Connection when I run telnet 0.0.0.0 9000 on Ubuntu, but I think it's because the idekey is set to PHPSTORM.

Is there any possibility to make it run?

shyim commented 3 years ago

You should be able to set the ide key there too

lucyd-dev commented 3 years ago

But where? I dont find any option for that.

shyim commented 3 years ago

the idekey seems optional on this setup https://github.com/xdebug/vscode-php-debug/issues/572

lucyd-dev commented 3 years ago

Hm okay. To be sure, how can I debug a 500 Error on a product page with the following error? Object of class Shopware\Core\Checkout\Cart\Price\Struct\PriceCollection could not be converted to string

shyim commented 3 years ago

APP_ENV=dev?

lucyd-dev commented 3 years ago

APP_ENV=dev is already set.