Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to start the react-native debugger along with the test? #403

Closed
drumnation opened this issue Nov 13, 2017 · 1 comment
Closed

How to start the react-native debugger along with the test? #403

drumnation opened this issue Nov 13, 2017 · 1 comment

Comments

@drumnation
Copy link

If I enable "Debug JS Remotely" and then run my test the app will relaunch with "Debug JS Remotely" off.

I'd like to be able to view my console.logs while I tried to debug an issue. I love having detox because I don't have to type anything to test the form and login flow... but for it to be useful besides knowing whether it passed each test I need to be able to see what happened when the test failed in the debugger.

Thanks!

@drumnation drumnation changed the title How to start the debugger along with the test? How to start the react-native debugger along with the test? Nov 13, 2017
@LeoNatan
Copy link
Contributor

This is not supported and will not be implemented. When you use remote JS debugger, all JS calculation is performed on another process (Chrome) and Detox cannot sync your app reliably. You can read your logs after Detox finishes running your tests.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants