Catch a local fatal
- Set WP_ENVIRONMENT_TYPE to local or development, or enable WP_DEBUG off production
- Load the package as a plugin, from the theme, or from an MU-plugin loader
- Trigger the error
- Read the owning plugin, the recent hooks and the request
- Open the file in your editor from the stack frame