How to debug watchOS 2 complication

I'm experimenting with creating a watchOS 2 complication. Although I have some simple working code, I can't seem to debug the code of the ComplicationController class. When I set a breakpoint it never hit while if I set a breakpoint in the ExtensionDelegate it does get hit when I launch the app.


Any help is appreciated.

After hours of frustratration and trying it turns out this seems to happen from time to time and the only way I got if fixed is by doing a "Reset Content and Settings" in the simulators. Mostly doing it in the iPhone simulalator is enough but sometimes I need to reset the watch simulator as well. After that the breakpoints work again usually for multiple debug sessions but for a yet (to me) unknown reasons it sometimes stops again.

Not sure if this helps but I have been just closing the watchOS simulation then letting xcode relaunch it. Seems to work fine to ensure the complication loads successfully.

How to debug watchOS 2 complication
 
 
Q