Re: debugging mockup grunt

Nathan Van Gheem <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAL8hw9FRRJR3P55QvO78WJEONU1eXoxDqWvg_AGW98wB_16dRQ@mail.gmail.com>
Johannes,

I don't have a good answer for you. It's been quite a pain for me in the
past before also.

Perhaps this could be a stackoverflow type question? We're more or less
consumers of the nodejs/grunt/etc toolset and I don't think we have a lot
of experts here.


-Nathan


On Tue, Sep 2, 2014 at 4:44 PM, Johannes Raggam <[email protected]> wrote:

> i got the idea to rip out the copy and sed section definitions from
> mockup-core's MockupGrunt prototype and move it over to the pattern's in
> mockup for better encapsulation and separation of concerns.
> MockupGrunt's copy and sed sections should then use the config from the
> bundle's pattern dependencies.
>
> but before i went ahead, i wanted to set up a debugging environment -
> otherwise i would just blindly develop in a trail and error style.
>
> still, i'm failing with debugging.
>
> i tried roughly this:
>
> $ npm install -g node-inspector
> $ node-inspector
> $ node --debug-brk $(which grunt) bundle-widgets
> $ chrome http://0.0.0.0:8080/debug?port=5858
>
> i also tried these grunt tasks according to their documentation:
> grunt-debug,
> grunt-debug-task
>
> all without luck. chrome is absolutly unresponsive and seems to take
> minutes for loading javascript resources, which even do not belong to
> mockup.
>
> how are other folks debugging the grunt framework in mockup?
>
>
> cheers, johannes
>
>
>
>
> --
> programmatic  web development
> di(fh) johannes raggam / thet
> python plone zope development
> plone framework  team  member
> mail: office-//[email protected]
> web:  http://programmatic.pro
>       http://bluedynamics.com
>
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>
>


-- 
Nathan Van Gheem
Solutions Architect
Wildcard Corp

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.