Skip to content

Commit 7a37474

Browse files
committed
Add --inspect-functions to enable debugging support
1 parent 62394d4 commit 7a37474

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/nx-firebase-project-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ We tag all dependent projects so that we can use Nx `run-many` with tag specifie
8282
"options": {
8383
"commands": [
8484
"nx run your-firebase-app-project-name:killports",
85-
"nx run your-firebase-app-project-name:firebase emulators:start --import=apps/your-firebase-app-project-name/.emulators --export-on-exit"
85+
"nx run your-firebase-app-project-name:firebase emulators:start --import=apps/your-firebase-app-project-name/.emulators --export-on-exit --inspect-functions"
8686
],
8787
"parallel": false
8888
}

e2e/nx-firebase-e2e/test-utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export function expectedAppProjectTargets(appProject: ProjectData) {
277277
options: {
278278
commands: [
279279
`nx run ${appProject.projectName}:killports`,
280-
`nx run ${appProject.projectName}:firebase emulators:start --import=${appProject.projectDir}/.emulators --export-on-exit`,
280+
`nx run ${appProject.projectName}:firebase emulators:start --import=${appProject.projectDir}/.emulators --export-on-exit --inspect-functions`,
281281
],
282282
parallel: false,
283283
},

packages/nx-firebase/src/generators/application/application.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('application generator', () => {
7878
options: {
7979
commands: [
8080
`nx run my-firebase-app:killports`,
81-
`nx run my-firebase-app:firebase emulators:start --import=apps/my-firebase-app/.emulators --export-on-exit`,
81+
`nx run my-firebase-app:firebase emulators:start --import=apps/my-firebase-app/.emulators --export-on-exit --inspect-functions`,
8282
],
8383
parallel: false,
8484
},

packages/nx-firebase/src/generators/application/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export async function applicationGenerator(
171171
options: {
172172
commands: [
173173
`nx run ${options.projectName}:killports`,
174-
`nx run ${options.projectName}:firebase emulators:start --import=${options.projectRoot}/.emulators --export-on-exit`,
174+
`nx run ${options.projectName}:firebase emulators:start --import=${options.projectRoot}/.emulators --export-on-exit --inspect-functions`,
175175
],
176176
parallel: false,
177177
},

0 commit comments

Comments
 (0)