Building and testing Joplin on Desktop - sandboxing (dev mode) - should I and how to?

Hi,

I've built Joplin from sources (on Windows). I'd like to prevent this version from using/modifying my normal Joplin notes, just in case it does not work correctly.

  1. I found no mention about such use case in readme/dev/index.md, readme/dev/BUILD.md, or in Contributing to Joplin | Joplin - is such approach not recommended?
  2. By Googling I found references to dev mode (--env dev) - is this the way?
  3. Additionally/alternatively, I found suggestions to use --profile PATH

So would following be a recommended way?

cd packages/app-desktop
yarn start -- --env dev --profile "$USERPROFILE/JoplinDev"

yarn start uses the dev profile by default