Skip to content

Commit

Permalink
Add --inspect-functions to enable debugging support
Browse files Browse the repository at this point in the history
  • Loading branch information
ciriousjoker committed Apr 13, 2024
1 parent 62394d4 commit 7a37474
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/nx-firebase-project-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ We tag all dependent projects so that we can use Nx `run-many` with tag specifie
"options": {
"commands": [
"nx run your-firebase-app-project-name:killports",
"nx run your-firebase-app-project-name:firebase emulators:start --import=apps/your-firebase-app-project-name/.emulators --export-on-exit"
"nx run your-firebase-app-project-name:firebase emulators:start --import=apps/your-firebase-app-project-name/.emulators --export-on-exit --inspect-functions"
],
"parallel": false
}
Expand Down
2 changes: 1 addition & 1 deletion e2e/nx-firebase-e2e/test-utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export function expectedAppProjectTargets(appProject: ProjectData) {
options: {
commands: [
`nx run ${appProject.projectName}:killports`,
`nx run ${appProject.projectName}:firebase emulators:start --import=${appProject.projectDir}/.emulators --export-on-exit`,
`nx run ${appProject.projectName}:firebase emulators:start --import=${appProject.projectDir}/.emulators --export-on-exit --inspect-functions`,
],
parallel: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('application generator', () => {
options: {
commands: [
`nx run my-firebase-app:killports`,
`nx run my-firebase-app:firebase emulators:start --import=apps/my-firebase-app/.emulators --export-on-exit`,
`nx run my-firebase-app:firebase emulators:start --import=apps/my-firebase-app/.emulators --export-on-exit --inspect-functions`,
],
parallel: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export async function applicationGenerator(
options: {
commands: [
`nx run ${options.projectName}:killports`,
`nx run ${options.projectName}:firebase emulators:start --import=${options.projectRoot}/.emulators --export-on-exit`,
`nx run ${options.projectName}:firebase emulators:start --import=${options.projectRoot}/.emulators --export-on-exit --inspect-functions`,
],
parallel: false,
},
Expand Down

0 comments on commit 7a37474

Please sign in to comment.