How to debug iOS WebRTC Framework?

Is there some way to debug WebRTC Framework in Xcode? ATM, since the framework is a binary library without source code, debugging is impossible. But is there a way to compile a debuggable library?

I am making a component that will depend on WebRTC’s API and am facing app crashes when using the API.

WebRTC builds are done with this script: off this repo:

The script has a --debug flag which allows for making debug builds.