blob: de05bf561313679ba20bc72bf4cd9b0165038e97 [file] [log] [blame]
/**
* Created by Weex.
* Copyright (c) 2016, Alibaba, Inc. All rights reserved.
*
* This source code is licensed under the Apache Licence 2.0.
* For the full copyright and license information,please view the LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
@interface WXDevTool : NSObject
/**
* set debug status
* @param isDebug : YES:open debug model and inspect model;
* default is NO,if isDebug is NO, open inspect only;
**/
+ (void)setDebug:(BOOL)isDebug;
/**
* get debug status
**/
+ (BOOL)isDebug;
/**
* launch weex debug
* @param url : ws://ip:port/debugProxy/native, ip and port is your devtool server address
* eg:@"ws://30.30.29.242:8088/debugProxy/native"
**/
+ (void)launchDevToolDebugWithUrl:(NSString *)url;
/**
* @abstract Returns the version of SDK
*
**/
+ (NSString*)WXDevtoolVersion;
@end