React-native-debugger: [FEATURE] Debug network requests

Created on 29 Oct 2016  路  3Comments  路  Source: jhen0409/react-native-debugger

That would be really useful.

Could something like this be implemented? http://stackoverflow.com/questions/33997443/how-can-i-view-network-requests-for-debugging-in-react-native

Cheers.

enhancement

Most helpful comment

This feature have been included in context menu (right-click) and macOS Touch Bar, see Debugger Integration section of docs.

Feel free to open new issue / PR if you have any problems that not mentioned in the documentation.

All 3 comments

Hey @DenJohX, thanks for feature request! :)

Could something like this be implemented? http://stackoverflow.com/questions/33997443/how-can-i-view-network-requests-for-debugging-in-react-native

That answer should be work directly on RNDebugger, because it will replace Native request by browser request, and it no problems of cross origin requests for Electron, but I think it will break NSExceptionDomains for iOS, in order to avoid confusion, I'm considering it as an option for RNDebugger or just add to the Debugger tips of readme.

I have these two errors when use this trick

fetch.js:459 Refused to set unsafe header "connection"
fetch.js:459 Refused to set unsafe header "proxy-connection"

This feature have been included in context menu (right-click) and macOS Touch Bar, see Debugger Integration section of docs.

Feel free to open new issue / PR if you have any problems that not mentioned in the documentation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ruzo picture Ruzo  路  5Comments

Ashoat picture Ashoat  路  4Comments

Clete2 picture Clete2  路  5Comments

ghasemikasra39 picture ghasemikasra39  路  3Comments

AndrejGajdos picture AndrejGajdos  路  4Comments