Skip to content

Conversation

@crloz
Copy link
Contributor

@crloz crloz commented Oct 16, 2022

Support rndebugger: URI scheme on Linux (via xdg-open):

  • on Linux, use app.requestSingleInstanceLock()
  • when opened the first time, the uri is read from precess.argv and the port in the URI takes precedence

Usage with Expo:

$ REACT_DEBUGGER="unset ELECTRON_RUN_AS_NODE && xdg-open 'rndebugger://set-debugger-loc?port=19000' ||" yarn start

Packagers for distributions not officially supported should add MimeType=x-scheme-handler/rndebugger; to the .desktop file

@jhen0409
Copy link
Owner

Thanks!

@jhen0409 jhen0409 merged commit 3580468 into jhen0409:master Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants