feat:add debug option:start debugging
This commit is contained in:
@@ -227,6 +227,12 @@ - (void)stopDebugging:(BOOL)resume {
|
||||
});
|
||||
}
|
||||
|
||||
- (void)requestDebugging:(DoricContext *)context {
|
||||
[self.wsClient sendToServer:@"DEBUG" payload:@{
|
||||
@"source": context.source
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)sendDevCommand:(NSString *)command payload:(NSDictionary *)payload {
|
||||
[self.wsClient sendToServer:command payload:payload];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user