@@ -79,12 +79,12 @@ Run configurations enable the use of debugging functionality such as steppers an
|
||||
|
||||
1. Select `Edit Configurations` in the `Run` dropdown menu. Click the plus sign to add a new
|
||||
configuration, then select `Node.js`.
|
||||
3. In `Working directory`, input `{PROJECT_DIR}/packages/backend`.
|
||||
2. In `Working directory`, input `{PROJECT_DIR}/packages/backend`.
|
||||
Replace `{PROJECT_DIR}` with the path to your Backstage repo.
|
||||
4. In `JavaScript file`, input `{PROJECT_DIR}/node_modules/@backstage/cli/bin/backstage-cli`.
|
||||
3. In `JavaScript file`, input `{PROJECT_DIR}/node_modules/@backstage/cli/bin/backstage-cli`.
|
||||
Replace `{PROJECT_DIR}` with the path to your Backstage repo.
|
||||
5. In `Application parameters`, input `package start`.
|
||||
6. Optionally, for `Environment Variables`, input `LOG_LEVEL=debug`.
|
||||
7. Click `Apply` to save the changes.
|
||||
8. With the newly-created configuration selected, use the `Run` or `Debug` icons on the
|
||||
4. In `Application parameters`, input `package start`.
|
||||
5. Optionally, for `Environment Variables`, input `LOG_LEVEL=debug`.
|
||||
6. Click `Apply` to save the changes.
|
||||
7. With the newly-created configuration selected, use the `Run` or `Debug` icons on the
|
||||
toolbar to execute the newly created configuration.
|
||||
|
||||
Reference in New Issue
Block a user