Debug node express app with handle bars

Hello all,


I have been trying to get my debugger to work and have not been able to figure it out. I have a node express app that is set up like so:


My program uses express and opens up the home.handlebars page fine. The home page uses the home.js page in the public\js folder. That also loads in fine and is working.

When I run the debugger it works for any break points set in node.js and any breakpoints set in bin/www. Basically anything before the page is rendered. But any breakpoints I set in the home.js page are not being activated. I have tried for a while to get this working and have been unsuccessful, so I would really appreciate a walk through in how I can debug js files in the public/js folder. 


here are the two debugging configs I have that have not worked:





Please sign in to leave a comment.