Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug node project (botpress)

I'm tring debug my botpress project. Debugs it's working, but only showing one file to me, not all the project files.

I'm use Google Chrome DevTool to debug the code, this is showing to me:

enter image description here

And this is my project with file to show.

enter image description here

All code: https://github.com/luizcarvalho/chatfuel

I need to show: src/actions.js, src/index.js and src/renderers.js to can debug my project.

like image 721
Luiz Carvalho Avatar asked Apr 09 '18 12:04

Luiz Carvalho


1 Answers

I added const actions = require('./src/actions'); in botfile.js and works!

enter image description here

like image 174
Luiz Carvalho Avatar answered Sep 23 '22 18:09

Luiz Carvalho