How should I debug OOP level errors in Drupal8? Error messages and backtrace seem to be useless.
I have installed the pants module locally on the latest Drupal 8 environment. And got an error. Now, I know it's because of the Pants module, because it worked fine before I installed it. But the problem is that the error message and the backtrace are completely useless in debugging this problem. Please see the image attached.
Am I missing something? How this problem should be debugged, given the non-descriptive messages?