Best practices on using two different php.ini files when using docker context

I am using php and have xdebug configured (via the php.ini) on my laptop where I am doing the development work. I also have an AWS Lightsail server and am trying to set up to use docker contexts to bring up the local or the remote containers. But I have a different php.ini file depending on which machine I am running on. How should I handle this?