-
Notifications
You must be signed in to change notification settings - Fork 217
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
Documentation on how to debug a typescript app such as forum #2427
Comments
Duplicate of #1801. Attaching a JS debugger to debug JS apps running in CCF is not possible currently. Having said that, the All the JS samples in the repo contain end-to-end tests which query the deployed service. They are lacking unit tests since the polyfills and the An alternative is to use |
@letmaik Thank you for the quick response. |
OK, agreed.
Yes, that's what I would recommend and I know of at least one internal team doing exactly that. |
The forum example has since been removed, but the polyfill is still there and continues to be the recommended way to debug JS apps. |
Is your feature request related to a problem? Please describe.
It is a documentation problem. I am trying to debug the forum app in visual studio code. The only reference on debugging is here: https://microsoft.github.io/CCF/ccf-0.17.2/build_apps/run_app.html#
I am not sure whether the debugging sections applies to the node js environment and if it is, how can I set the debug flag?
Describe the solution you'd like
The forum app description should have a section explaining how to debug the app.
Describe alternatives you've considered
I tried attaching the debugger to all node js processes in order to hit the breakpoint but this did not work.
The text was updated successfully, but these errors were encountered: