Skip to content

fix: cannot use the tool on remote setup#13

Open
YvanoffP wants to merge 2 commits intohand-dot:mainfrom
YvanoffP:fix/inspect/remote
Open

fix: cannot use the tool on remote setup#13
YvanoffP wants to merge 2 commits intohand-dot:mainfrom
YvanoffP:fix/inspect/remote

Conversation

@YvanoffP
Copy link

@YvanoffP YvanoffP commented Feb 3, 2026

Summary

  • Fix renderer lookup to support multiple React renderers
  • Add path mapping feature for Docker/remote development workflows

Changes

Bug Fix: Multi-renderer support

Previously, the extension was hardcoded to use renderers.get(1), which failed when the React app had multiple renderers or when the renderer was registered at a different key. The fix now iterates through all available renderers until it finds one that can locate the fiber with debug source information.

New Feature: Path Mappings

Added a new option to configure path mappings for Docker/remote development scenarios. When working with apps running in containers, the source file paths often don't match local paths (e.g., /home/node/frontend/src/... vs /Users/you/project/src/...).

Users can now add mappings in the format: /container/path|/local/path

Screenshot 2026-02-03 at 14 06 44

@JesusDR01 @hand-dot if one of you could check it would be awesome. Tyvm

fixes #6 #3

@codesandbox
Copy link

codesandbox bot commented Feb 3, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Contributor

@JesusDR01 JesusDR01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

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.

Doesn't work as expected

2 participants