node.js - LESS @plugin Debugging (node) -
does know how debug less plugin when using node compile? able see value of console.log() within custom less functions.
i using gulp-less. have tried run gulp way:
node --inspect --debug-brk /usr/local/bin/gulp compilecss
this ran gulp task don't see console within function inside javascript @plugin.
the above mentioned method worked, issue plugin wasn't set correctly. in shoes worked:
follow instructions on answer getting inspector in gulp task. enter link description here
then if plugin installed should see logs in console less custom plugin or it's functions.
Comments
Post a Comment