Closed zhouhao27 closed 2 months ago
This workaround works for me.
Expo 51 is using Hermes engine as default. It should work with Hermes debugging config.
Expo 51 is using Hermes engine as default. It should work with Hermes debugging config.
Got the following error message in Output when I tried to use Hermes:
[Info] Need to check main file and entry point of open module, will setup and write new content if they're not existing. Path: /Users/zhouhao/Projects/Study/rn/my-app/node_modules/open
[Info] Find open-main.js and entry in open module, skip setup...
[Info] Starting Packager
error No Metro config found in /Users/zhouhao/Projects/Study/rn/my-app. [Error] Error: Could not start the packager.
[Error] Error: Could not start the packager.
Error in Debug Console:
Launching the application An error occurred while launching the application. Could not start the packager. (error code 303)
My launch.json:
{
"name": "Debug iOS Hermes",
"request": "launch",
"type": "reactnativedirect",
"cwd": "${workspaceFolder}",
"platform": "ios"
},
Hey @zhouhao27 , if you still need help, could you please open a new issue with the demo to help me repro this error? Actually I cannot repro this in my local with sample app.
🐛 What is the bug? How can we reproduce it?
React Native tools doesn't work for me in my Mac 10.15.
npc create-expo-app@latest -t
Navigation (TypeScript)
npx start -c --dev-client
i
launch.json
file for debuggingAttach to Package
to start debuggingOpen Debugger
in menu, it always open Google Chrome instead of debugging inside VS Code.Expected behavior
Break point should be reached.
Debug output
Debug Console
```text Attaching to the application Starting debugger app worker. Established a connection with the Proxy (Packager) to the React Native application ```React Native output channel
```text [Info] Packager started. ```Developer Tools console
```text N.A. ```I'm not able to find
Developer Tool
.Environment
Please tell us about your system and your project:
npx react-native doctor
ornpx expo doctor
if your project is using Expo:envinfo
: