workspace), clone all MiniApps that you want to debug.
list-miniapp, the directory structure should look like this:
ern linkin each MiniApp directory.
yarn init --yes(or
npm init --yes) in the parent directory (
workspace) to create a
package.jsonfile. Then add the React Native dependencies:
react-nativethat are used by the MiniApps (in this example React Native 0.60.6).
ern link, and add a corresponding mapping entry to
-m) flag. If no other options are defined, the
ern startcommand requires an active Cauldron. See
ern start --helpfor more information.
workspacedirectory in VS Code (if you have not done so already) and launch the native application (if it is not already running). It may have been launched automatically by
ern startcommand has completed and is still running in the background. You will notice an indicator that will keep spinning until the next step is completed.
list-miniapp, and debug the MiniApps in VS Code.