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

Expo debug stuck in "waiting for device to connect" step. #265

Open
amacinho opened this issue Dec 6, 2024 · 2 comments
Open

Expo debug stuck in "waiting for device to connect" step. #265

amacinho opened this issue Dec 6, 2024 · 2 comments

Comments

@amacinho
Copy link

amacinho commented Dec 6, 2024

Description of the bug

Expo debug does not start in VSCode. It gets over "waiting for bundler on 127.0.0.1:8081 step successfully, but gets stuck waiting for a device to connect.

To Reproduce

  1. Run Expo debug on VSCode. ctrl+shift+P Expo: Debug expo app (also tried using a launch configuration)
  2. Confirm it's in "waiting for bundler on 127.0.0.1:8081" step.
  3. Go to terminal. Run npx expo start.
  4. Go back to VSCode, confirm it's now "waiting for device to connect"
  5. Go back to terminal, launch Expo app on my phone using the QR code.
  6. The app loads, I can interact with it. But Expo Debug is still stuck.

Expected behavior

Debugging should start.

Actual behavior

Got stuck.

Additional context

Stuck:
image

launch.json configs I tried:
{
"type": "expo",
"request": "attach",
"name": "Debug Expo Go",
"projectRoot": "${workspaceFolder}/client",
"bundlerPort": "8081",
"bundlerHost": "127.0.0.1",
"trace": true,
"enableTurboSourcemaps": false
}
or
{
"type": "expo",
"request": "attach",
"name": "Debug Expo Go",
"projectRoot": "${workspaceFolder}/client",
"bundlerPort": "8081",
"bundlerHost": "127.0.0.1"
},

Expo ~52.0.17
Expo app on iPhone:

@kristian-nst
Copy link

Same here 52.0.17

@douglascugliaridev
Copy link

douglascugliaridev commented Dec 16, 2024

Same here 52.0.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants