Search code examples
node.jswebstormjetbrains-idestrapi

How to debug Strapi in WebStorm?


How can I debug Strapi project in WebStorm? (https://strapi.io/)

what should I do here??


Solution

  • If you like to debug your controllers, etc., you have to start the server in debug mode, using node --inspect-brk ./node_modules/strapi/bin/strapi.js dev, like

    enter image description here

    and then open the corresponding URL in browser

    enter image description here