loopbackio / loopback-next

LoopBack makes it easy to build modern API applications that require complex integrations.
https://loopback.io
Other
4.95k stars 1.07k forks source link

[Docs] How to debug a LoopBack application #6613

Closed dhmlau closed 3 years ago

dhmlau commented 4 years ago

In the troubleshooting guide, we can add the information on how to set breakpoints in a LB4 app as debugging.

Some high level information for VS code:

hectorleiva commented 4 years ago

Hey @dhmlau !

Are you looking for someone to type up this VSCode procedure into the troubleshooting guide and to provide perhaps, a gif of this happening? Are you looking for as many different ways to debug a Node.js application as possible including this VSCode process? This seems like it is up my alley.

dhmlau commented 4 years ago

@hectorleiva, there were some questions on the LoopBack Slack workspace about setting breakpoints to debug a LoopBack application, so I created this issue to capture that. @jannyHou has a PR https://github.com/strongloop/loopback-next/pull/6615 to update the CLI template so that the launch.json will be included in a scaffolded app. I guess we can add some instructions based on the outcome of that PR.

stale[bot] commented 3 years ago

This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.

stale[bot] commented 3 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.