Skip to content

Set default base path for xdebug replacements #1506

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

Merged
merged 2 commits into from
Feb 10, 2024
Merged

Conversation

barryvdh
Copy link
Owner

I'm still not really sure if this is correct. It seems so be copied from Ignition in #1258 by @VictoRD11 ?
But should both default to the base_path?
Eg. in Laravel Herd this works fine by default, with getRemoteServerReplacements() looking like this:
image

But not sure if this is intended like this. And should we default to the Ignition .env?
/cc @ erikn69

@barryvdh
Copy link
Owner Author

Okay like this it seems to work without setting anything in local development (eg. Herd/Valet), and just setting the local settings for ignition fixes both ignition and debugbar the same way :)

@barryvdh barryvdh merged commit e39503d into master Feb 10, 2024
@delete-merged-branch delete-merged-branch bot deleted the fix-default-replacement branch February 10, 2024 11:12
@erikn69
Copy link
Contributor

erikn69 commented Feb 13, 2024

IGNITION_LOCAL_SITES_PATH is a great addition

@barryvdh
Copy link
Owner Author

Yeah it uses the same logic anyways

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

Successfully merging this pull request may close these issues.

2 participants