{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/14288","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/14288/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/14288/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/14288/events","html_url":"https://github.com/facebook/react-native/issues/14288","id":232891594,"number":14288,"title":"Cannot debug JS remotely on iOS device","user":{"login":"ywongweb","id":1422851,"avatar_url":"https://avatars2.githubusercontent.com/u/1422851?v=4","gravatar_id":"","url":"https://api.github.com/users/ywongweb","html_url":"https://github.com/ywongweb","followers_url":"https://api.github.com/users/ywongweb/followers","following_url":"https://api.github.com/users/ywongweb/following{/other_user}","gists_url":"https://api.github.com/users/ywongweb/gists{/gist_id}","starred_url":"https://api.github.com/users/ywongweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywongweb/subscriptions","organizations_url":"https://api.github.com/users/ywongweb/orgs","repos_url":"https://api.github.com/users/ywongweb/repos","events_url":"https://api.github.com/users/ywongweb/events{/privacy}","received_events_url":"https://api.github.com/users/ywongweb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-06-01T14:08:33Z","updated_at":"2017-10-25T06:49:53Z","closed_at":"2017-10-25T06:49:53Z","author_association":"NONE","body":"### Description\r\n\r\nCreate app with `react-native init myapp`\r\n\r\nRun the app in `Xcode` with real iPhone as target, open up the developer menu and select `debug js remotely`. \r\n\r\nApp screen on device now stuck at `Loading from pre-bundler file...`\r\n\r\nIn the debugger console log I can see an error:  \r\n`GET file:///var/containers/Bundle/Application/FB3D960C-BF23-4F8A-B458-A9FFED6AFEF2/myapp.app/main.jsbundle net::ERR_FILE_NOT_FOUND`\r\n\r\n### Additional Information\r\n* React Native version: 0.44.2\r\n* Platform: iOS device only, the exact same code works on all other debugging methods including android devices\r\n* Development Operating System: OSX\r\n* Dev tools: Xcode\r\n\r\n### Observations \r\n* Both server and phone are connected to the same network  \r\n* ` On device remote JS debugging` does not work with `RCTWebSocketExecutor.m` set to `localhost` or `server local ip`\r\n* With IP set to`localhost`, I get the usual red screen error warning I should change the IP in `RCTWebSocketExecutor`\r\n* With IP set to `server local IP`, I don't get the green progress bar when loading the app, instead I have a black bar with the text `loading from pre-bundle file`, and it will just get stuck in here forever\r\n* No activity on the debugger window\r\n* At this point, I can see and error log in the debugger console `GET file:///var/containers/Bundle/Application/FB3D960C-BF23-4F8A-B458-A9FFED6AFEF2/ttt.app/main.jsbundle net::ERR_FILE_NOT_FOUND`\r\n* Using the phone's browser and navigate to http://server-local-ip:8081/debugger-proxy?role=proxy works\r\n "}}
{"actor":{"display_login":"ywongweb"}}