Skip to content

Commit 1d8a738

Browse files
authored
Correction to execution command
The command ```sh node --inspect node_modules/@google-cloud/functions-framework --target=helloWorld ``` didn't work for me. Not sure if this is because of changes, npm updates or the doc was wrong in the first place. The working command is documented in this change.
1 parent bcfc183 commit 1d8a738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ npm install @google-cloud/functions-framework
1919
3. Run `node`, enable the inspector and run the Functions Framework:
2020

2121
```sh
22-
node --inspect node_modules/@google-cloud/functions-framework --target=helloWorld
22+
node --inspect node_modules/.bin/functions-framework --target=helloWorld
2323
...
2424
Debugger listening on ws://127.0.0.1:9229/5f57f5e9-ea4b-43ce-be1d-6e9b838ade4a
2525
For help see https://nodejs.org/en/docs/inspector

0 commit comments

Comments
 (0)