Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDEBUG: Outdated configuration #30

Open
gopibabus opened this issue Mar 3, 2022 · 0 comments
Open

XDEBUG: Outdated configuration #30

gopibabus opened this issue Mar 3, 2022 · 0 comments

Comments

@gopibabus
Copy link

The XDebug settings that are showed in Laravel 9 and 10 videos only work with XDebug 2.x. The XDebug 3 settings got updated. I wish you will update the respective content. These are final settings that are working for me:

Reference


#xdebug.ini
[xdebug]
;https://xdebug.org/docs/upgrade_guide
xdebug.mode=${PHP_XDEBUG_MODE}
xdebug.start_with_request = ${PHP_XDEBUG_START_WITH_REQUEST}
; remote_connect_back is not safe in production
xdebug.discover_client_host = 0
xdebug.client_host = ${PHP_XDEBUG_CLIENT_HOST}
xdebug.client_port = ${PHP_XDEBUG_CLIENT_PORT}
xdebug.idekey = ${PHP_XDEBUG_IDE_KEY}

;profiling
xdebug.output_dir  = ${PHP_XDEBUG_OUTPUT_DIR}


# .docker.env
PHP_XDEBUG_MODE=debug
PHP_XDEBUG_CLIENT_HOST=192.168.86.31
PHP_XDEBUG_START_WITH_REQUEST=yes
PHP_XDEBUG_CLIENT_PORT=9001
PHP_XDEBUG_IDE_KEY=DOCKER_PHPSTORM
PHP_XDEBUG_OUTPUT_DIR=/var/www/html/storage/logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant