File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ class IOSLiveSyncService implements IDeviceLiveSyncService {
42
42
return true ;
43
43
}
44
44
45
- let enableDebuggerMessage = `{ "method":"Debugger.enable","id":${ ++ currentPageReloadId } }` ;
46
45
if ( this . device . isEmulator ) {
47
46
this . $iOSEmulatorServices . postDarwinNotification ( this . $iOSNotification . attachRequest ) . wait ( ) ;
48
47
try {
@@ -59,7 +58,6 @@ class IOSLiveSyncService implements IDeviceLiveSyncService {
59
58
}
60
59
61
60
this . attachEventHandlers ( ) ;
62
- this . sendMessage ( enableDebuggerMessage ) . wait ( ) ;
63
61
64
62
return true ;
65
63
} ) . future < boolean > ( ) ( ) ;
@@ -131,7 +129,7 @@ class IOSLiveSyncService implements IDeviceLiveSyncService {
131
129
let message = JSON . stringify ( {
132
130
method : "Debugger.setScriptSource" ,
133
131
params : {
134
- scriptUrl : localToDevicePath . getDevicePath ( ) ,
132
+ scriptUrl : localToDevicePath . getRelativeToProjectBasePath ( ) ,
135
133
scriptSource : content
136
134
} ,
137
135
id : ++ currentPageReloadId
You can’t perform that action at this time.
0 commit comments