$ yarn
$ cd ios && pod install
$ yarn run react-native-rename <your app name here>
$ yarn start
$ yarn ios
$ yarn android
Alternatively, install VSCode extension "React Native Tools" and add the followling launch configuration items to your VSCode launch.json. This way you can select "Debug IOS/Android" in your VSCode debug menu
"configurations": [
{
"name": "Debug Android",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "android",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
},
{
"name": "Debug iOS",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "launch",
"platform": "ios",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
}
]