React Native VSCode Debug on M1

Viewed 43

Is there an updated list of what to check when attempting to set up a VSCode React-Native development environment in an Apple M1?

I can run code, I just can't seem to debug it in VSCode.

This even gives me an error. Thoughts on where to start?

xxxxx (master)

$ npx react-native doctor
⠇ Running diagnostics...error Reduce of empty array with no initial value.
TypeError: Reduce of empty array with no initial value
    at Array.reduce (<anonymous>)
    at Object.getDiagnostics (/Users/xxxxx/Projects/DoneWithIt/node_modules/@react-native-community/cli-doctor/build/tools/healthchecks/xcodeEnv.js:86:8)
    at /Users/xxxxx/Projects/DoneWithIt/node_modules/@react-native-community/cli-doctor/build/commands/doctor.js:145:29
    at Array.map (<anonymous>)
    at iterateOverHealthChecks (/Users/xxxxx/Projects/DoneWithIt/node_modules/@react-native-community/cli-doctor/build/commands/doctor.js:135:51)
    at Array.map (<anonymous>)
    at iterateOverCategories (/Users/xxxxx/Projects/DoneWithIt/node_modules/@react-native-community/cli-doctor/build/commands/doctor.js:168:70)
    at Object.doctorCommand [as func] (/Users/xxxxx/Projects/DoneWithIt/node_modules/@react-native-community/cli-doctor/build/commands/doctor.js:170:41)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Command.handleAction (/Users/xxxxx/Projects/DoneWithIt/node_modules/@react-native-community/cli/build/index.js:190:9)
info Run CLI with --verbose flag for more details.
1 Answers
Related