Vscode-react-native: Start packager on Attach to packager debug configuration

Created on 12 Aug 2019  路  4Comments  路  Source: microsoft/vscode-react-native

After I built my app on my device/simulator I don't need to rebuild it every time I start working on it so I need a launch configuration that only starts
and attaches to the packager. For now I'm using Attach to packager, but every time I launch VSCode I need to run it twice, because the packager control buttons in the status bar are missing:
image
So I run Attach to packager so that they appear, then start packager, then run again Attach to packager.

I know it's possible now with three clicks, but it feels unintuitive when it can be one click.

enhancement

Most helpful comment

Hi @dimitarnestorov . This feature is implemented as part of React Native Tools Preview and will be available shortly. In the future preview version will replace the current one, so this feature will be there either.

All 4 comments

Hi @dimitarnestorov and thanks for reaching us. Could you please fill all the information as noted in our issue template? It will help to better understand the situation from our side.

Actual Behavior

  1. Status bar packager controls are missing. Run Attach to packager to trigger their appearance.
  2. Start packager.
  3. Attach to packager.

Expected Behavior

  1. Run Start packager.

Software versions

  • React-Native VS Code extension version: 0.10.2
  • VSCode version: 1.37.0
  • OS platform and version: macOS 10.15
  • NodeJS version: 11
  • React Native version: 0.59.9

Not sure how this info is valuable since my issue is a feature request.

@dimitarnestorov Understood. Thanks for your feedback, we'll consider that and manage in order of priorities.

Hi @dimitarnestorov . This feature is implemented as part of React Native Tools Preview and will be available shortly. In the future preview version will replace the current one, so this feature will be there either.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jacky9425 picture Jacky9425  路  4Comments

springcoil picture springcoil  路  5Comments

molant picture molant  路  3Comments

kevinnguy picture kevinnguy  路  3Comments

kralcifer-ms picture kralcifer-ms  路  4Comments