You can debug your Feathers app the same as you would any other Node app. There are a few different options you can resort to. NodeJS has a built in debugger that works really well by simply running:
node debug src/In addition to setting breakpoints we also use the fabulous debug module throughout Feathers core and many of the plug-ins. This allows you to get visibility into what is happening inside all of Feathers by simply setting a DEBUG environmental variable to the scope of modules that you want visibility into.
-
Debug logs for all the things
DEBUG=* npm start -
Debug logs for all Feathers modules
DEBUG=feathers* npm start -
Debug logs for a specific module
DEBUG=feathers-authentication* npm start -
Debug logs for a specific part of a module
DEBUG=feathers-authentication:middleware npm start