microsoft / microsoft/react-native-windows

`run-windows` documentation now has `--client-logs`, but it just throws an error because it wasn't implemented

Open
#14,963 0 comments 0 reactions 1 assignee View on GitHub

@iamAbhi-916 is already working on this.

Since Jul 29, 2025.

bug
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Problem Description

This PR added --client-logs to playground's start script. That's fine, the start command has the argument.

But the documentation for the run-windows command was updated to say it also supports that argument:

+ | `--client-logs` | boolean | Enable plain text JavaScript log streaming for all connected apps |

However there's no actual code to make that happen.

Steps To Reproduce
  1. Call yarn react-native run-windows --client-logs
yarn run v1.22.22
$ C:\code\rnw\node_modules\.bin\react-native run-windows --client-logs
error: unknown option '--client-logs'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Expected Results

Logging is enabled in Metro as per the new documentation.

CLI version

17.0.0

Environment
info Fetching system and libraries information...
System:
  OS: Windows 11 10.0.27908
  CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13800H
  Memory: 12.33 GB / 31.83 GB
Binaries:
  Node:
    version: 18.18.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.22
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 9.8.1
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.19041.0
      - 10.0.22000.0
      - 10.0.22621.0
      - 10.0.26100.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.14.36301.6 (Visual Studio Enterprise 2022)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found
Community Modules

No response

Target React Native Architecture

None

Target Platform Version

None

Visual Studio Version

None

Build Configuration

None

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

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.