Skip to content

[Fabric] Apps using bridgeless mode do not enumerate direct debugging targets #12834

@jonthysell

Description

@jonthysell

Problem Description

If you create a new cpp-app, which has birdge-less mode enabled, you cannot direct debug hermes. If you look at http://localhost:8081/json, which normally enumerates the debug targets, the response is blank.

If you disable bridgeless, direct debugging works as expected.

Steps To Reproduce

  1. Create a new arch cpp-app RNW app (bridgeless is enabled)
  2. Launch the app with direct deubgging enabled
  3. Try to debug the app

Expected Results

No response

CLI version

13.5.1

Environment

info Fetching system and libraries information...
System:
  OS: Windows 11 10.0.26080
  CPU: "(24) x64 AMD Ryzen Threadripper PRO 3945WX 12-Cores     "
  Memory: 46.53 GB / 63.86 GB
Binaries:
  Node:
    version: 18.17.1
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 3.6.4
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 9.6.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.18362.0
      - 10.0.19041.0
      - 10.0.22000.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 16.11.34601.136 (Visual Studio Enterprise 2019)
    - 17.9.34622.214 (Visual Studio Enterprise 2022)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.0-nightly-20240129-39cb02f6f
    wanted: 0.74.0-nightly-20240129-39cb02f6f
  react-native-windows:
    installed: 0.0.0-canary.788
    wanted: 0.0.0-canary.788
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Target Platform Version

10.0.19041

Target Device(s)

Desktop

Visual Studio Version

Visual Studio 2022

Build Configuration

Debug

Snack, code example, screenshot, or link to a repository

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions