Kaki6876
Kaki6876

Reputation: 87

react native debugger on android emulator

i create my app via react-native init and run android emulator and i am trying to debug it via react native debugger. i connect my app to the react native debugger but inside Sources tab i cant see my folders like: src, images, etc. i see all files without their folder including all node_modules files. How can i see my src folder and inside it the javascript files? here is what i am seeing: enter image description here

Upvotes: 0

Views: 72

Answers (1)

Rajan
Rajan

Reputation: 1568

Try to use debugger. It will stop execution and it will show breakpoint from that line.

willFocusAction = () => {
  debugger;
  this.setState({ loading: true });
  this.wsGetContestList(this.state.defaultPage, false)
}

Upvotes: 1

Related Questions