Re: How to debug javascript in Plone 5 ?

Nathan Van Gheem <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAL8hw9E0m-Y6MV1AFtGFCKuOAALP4rnJZEZec1RK4dm89COHrw@mail.gmail.com>
Source maps are supposed to be available right now. They are at least being
built.

On Fri, Sep 18, 2015 at 11:00 AM, Sean Upton <[email protected]> wrote:

>
> On Fri, Sep 18, 2015 at 8:05 AM, Nathan Van Gheem <[email protected]>
> wrote:
>
>> What do you mean by prevent cooking?
>>
>> If you want to explore/debug the structure pattern, here are your steps:
>>
>> - go to resource registries control panel
>> - activate debug mode
>> - enable debugging the "plone-logged-in" bundle
>> - click save
>>
>> Now javascript for the plone-logged-in bundle(where the structure pattern
>> is included) will not use the compiled javascript.
>>
>
> I have not completely thought this through, but I wonder if it would be
> sensible to add support for source maps support to some future Plone 5
> version? Maybe enabling when in debug mode, and outputting X-SourceMap
> header on JS resources.  Goal would be that opting into debugging and
> downloading uncooked source assets would be a choice made in the browser,
> not server-side?
>
> Sean
>
>
>
>


-- 
Nathan Van Gheem
Solutions Architect
Wildcard Corp

------------------------------------------------------------------------------

_______________________________________________
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.