Skip to content

Instantly share code, notes, and snippets.

Created Dec 17, 2012

What would you like to do?
minimum PonyDebugger setup
#import <PonyDebugger/PDDebugger.h>
PDDebugger *debugger = (PDDebugger *) [NSClassFromString(@"PDDebugger") defaultInstance];
[debugger connectToURL:[NSURL URLWithString:@"ws://localhost:9000/device"]];
[debugger enableNetworkTrafficDebugging];
[debugger forwardAllNetworkTraffic];
[debugger enableViewHierarchyDebugging];
[debugger setDisplayedViewAttributeKeyPaths:@[@"frame", @"hidden", @"alpha", @"opaque"]];
[debugger enableCoreDataDebugging];
[debugger addManagedObjectContext:[NSManagedObjectContext MR_defaultContext] withName:@"MOC"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.