Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript + Nodemon + vscode debugger #334

Closed
dsstewa opened this issue Sep 23, 2021 · 2 comments
Closed

TypeScript + Nodemon + vscode debugger #334

dsstewa opened this issue Sep 23, 2021 · 2 comments
Assignees

Comments

@dsstewa
Copy link

dsstewa commented Sep 23, 2021

Has anyone successfully been able to attach the vscode debugger to the nodemon deamon with the typescript example given? We are able to get it to attach, as soon as there was a file change or re-load it would detach.

David

@dsstewa
Copy link
Author

dsstewa commented Sep 23, 2021

"start": "./node_modules/.bin/env-cmd node --inspect node_modules/@google-cloud/functions-framework -sour ce=build/src/ --target=helloWorld",

Appears to fix the issue, updating the package.json

@grant grant self-assigned this Sep 23, 2021
@grant
Copy link
Contributor

grant commented Sep 23, 2021

Thanks. We have a few discussions around this issue. Of course we don't have samples for every combination of other tech.

For example: #254

It seems like you resolved figuring it out. Closing. :)

@grant grant closed this as completed Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants