Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

64
Views
How to debug React Native Expo App in VSC

I have the packager attached to the android emulator. Everything seems to be connected but breakpoints aren't hitting when code is hit. What steps do you take to attach the packager?

These are the steps I took:
Opened expo app on android emulator.
Created attach to packager config:

{
  "name": "Attach to packager",
  "request": "attach",
  "type": "reactnative",
  "cwd": "${workspaceFolder}",
  "port": 19000
}

Ran debugger using the config above
Enabled remote debugging in emulator.
Opened Camera inside app

Nothing hit and that's where I put the breakpoint in the code Image of VSC and Emulator

7 months ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.