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 {
4242 return true ;
4343 }
4444
45- let enableDebuggerMessage = `{ "method":"Debugger.enable","id":${ ++ currentPageReloadId } }` ;
4645 if ( this . device . isEmulator ) {
4746 this . $iOSEmulatorServices . postDarwinNotification ( this . $iOSNotification . attachRequest ) . wait ( ) ;
4847 try {
@@ -59,7 +58,6 @@ class IOSLiveSyncService implements IDeviceLiveSyncService {
5958 }
6059
6160 this . attachEventHandlers ( ) ;
62- this . sendMessage ( enableDebuggerMessage ) . wait ( ) ;
6361
6462 return true ;
6563 } ) . future < boolean > ( ) ( ) ;
@@ -131,7 +129,7 @@ class IOSLiveSyncService implements IDeviceLiveSyncService {
131129 let message = JSON . stringify ( {
132130 method : "Debugger.setScriptSource" ,
133131 params : {
134- scriptUrl : localToDevicePath . getDevicePath ( ) ,
132+ scriptUrl : localToDevicePath . getRelativeToProjectBasePath ( ) ,
135133 scriptSource : content
136134 } ,
137135 id : ++ currentPageReloadId
You can’t perform that action at this time.
0 commit comments