Skip to content

Get project roots for support relative paths for JSX source in React DevTools #73

@jhen0409

Description

@jhen0409

See facebook/react-devtools#703, it would be better for Show <> in Source feature for React DevTools.

Also, it's possible to set a function to debugger worker, let user set the projectRoots in JS:

if (window.setProjectRootForRNDebugger) {
  window.setProjectRootForRNDebugger('<path_of_project>')
}

Except the global function, it seems to be no good way without rndebugger-open, so we should make it recommended to use in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions