You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] LogCat array arguments are merged, causing command-line options to fail #3076
When debugging an Android app, I want to view only that app's logs instead of logs from all processes on the device. LogCat supports --pid <pid> for this purpose.
However, setting react-native.android.logCatArguments to ["--pid", "<pid>"] causes the extension to merge the two arguments into --pid,<pid>. LogCat rejects this as an unknown option, preventing the monitor from starting correctly.
Steps to reproduce
Open a React Native project in an Extension Development Host window.
Start an Android emulator and run the app.
Query the running app's PID:
adb -s emulator-5554 shell pidof com.rn_0_87_1
In my case, the PID was 16658.
To show only this app's logs, open Preferences: Open Workspace Settings (JSON) from the Command Palette and add:
Activity