Skip to content

Instantly share code, notes, and snippets.

@shubhamp-sf
Last active November 9, 2022 06:46
Show Gist options
  • Save shubhamp-sf/4876a1f2f8910691c5d7012bbd4ae49a to your computer and use it in GitHub Desktop.
Save shubhamp-sf/4876a1f2f8910691c5d7012bbd4ae49a to your computer and use it in GitHub Desktop.
Debug Loopback Applications on Windows

Terminal: Git Bash OS: Windows

  1. Set DEBUG Variable With the value of application module you want to enable logging for, Checkout this string reference for more.
export DEBUG=loopback:core:application

Can also verify the value with echo

echo $DEBUG
  1. Simply start the application as you do normally
npm start

Example: image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment