# php56-yt-client-debugger

The purpose of this is to allow for a php56 containerized environment to debug the behavior of the Google client used in the monolith.

## Setup
1. Give docker access to dev ECR so you can pull down base image (you may need to run the MFA script to generate AWS creds)

`aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 103233932089.dkr.ecr.us-east-1.amazonaws.com`

2. Copy [orchard](https://github.com/theorchard/orchard) repo to `./orchard`

3. Move config file so they get ignored

`mv orchard/library/GoogleApi/src/orchard_config.php orchard/library/GoogleApi/src/orchard_config.php.bk`

4. Run container and observe output

`docker-compose up --build`

6. Modify `start.php` to debug

6. Re-run container
