File tree Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 44 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55 "version" : " 0.2.0" ,
66 "configurations" : [
7+ {
8+ "name" : " Debug iOS" ,
9+ "cwd" : " ${workspaceFolder}" ,
10+ "type" : " reactnative" ,
11+ "request" : " launch" ,
12+ "platform" : " ios"
13+ },
14+ {
15+ "name" : " Debug Android" ,
16+ "cwd" : " ${workspaceFolder}" ,
17+ "type" : " reactnative" ,
18+ "request" : " launch" ,
19+ "platform" : " android"
20+ },
21+ {
22+ "name" : " Debug Android (Hermes) - Experimental" ,
23+ "cwd" : " ${workspaceFolder}" ,
24+ "type" : " reactnativedirect" ,
25+ "request" : " launch" ,
26+ "platform" : " android"
27+ },
728 {
829 "type" : " chrome" ,
930 "request" : " launch" ,
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3636- (NSURL *)sourceURLForBridge : (RCTBridge *)bridge
3737{
3838#if DEBUG
39- // https://twitter.com/nparashuram/status/1187425725726412801
40- return [NSURL URLWithString: [[[[RCTBundleURLProvider sharedSettings ]
41- jsBundleURLForBundleRoot: @" index" fallbackResource: nil ] absoluteString ]
42- stringByAppendingString: @" &inlineSourceMap=true" ]];
39+ // // https://twitter.com/nparashuram/status/1187425725726412801
40+ // return [NSURL URLWithString:[[[[RCTBundleURLProvider sharedSettings]
41+ // jsBundleURLForBundleRoot:@"index" fallbackResource:nil] absoluteString]
42+ // stringByAppendingString:@"&inlineSourceMap=true" ]];
4343
44- // return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
44+ return [[RCTBundleURLProvider sharedSettings ] jsBundleURLForBundleRoot: @" index" fallbackResource: nil ];
4545#else
4646 return [[NSBundle mainBundle ] URLForResource: @" main" withExtension: @" jsbundle" ];
4747#endif
You can’t perform that action at this time.
0 commit comments