Skip to Content

Contributors

Re: Javascript Debug

> when debuggin js with chrome in v16 and v15 the js/css is located in a non

> named subfolder. In v14, it is not the case. There it looks more right.

> (See attached images.) I could believe, thats why I can not debug inside

> Intellij, because the path mapping does not work correctly.

> 

> Has anyone here an idea ?

the files in the source map those versions generate have leading slashes. Given 
this is a non-standard by google, I'd figure whatever chrome does is correct 
and the fact that firefox handles this more gracefully is a fluke.

You might try to remove leading slashes in
https://github.com/odoo/odoo/blob/16.0/odoo/tools/sourcemap_generator.py#L95
and see if this fixes your problem.


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

by "Holger Brunn" <mail@hunki-enterprises.nl> - 09:16 - 18 Dec 2022

Reference

  • Javascript Debug
    Hello you,

    when debuggin js with chrome in v16 and v15 the js/css is located in a non named subfolder.
    In v14, it is not the case. There it looks more right. (See attached images.)
    I could believe, thats why I can not debug inside Intellij, because the path mapping does not work correctly.

    Has anyone here an idea ?

    Thank you all.

     












    has got anyone an idea why the javascript/scss/... sources are not located under the running domain

    Vielen Dank und viele Grüße

    Stefan Wild
    Geschäftsführer
    sewisoft.de - Logo

    sewisoft GmbH
    Örtleinsweg 39
    96148 Baunach

    info@sewisoft.de
    Tel. +49 (0) 160 / 99 11 25 69
    www.sewisoft.de

    Sitz der Gesellschaft: Baunach
    Registergericht: Amtsgericht Bamberg, HRB 8508
    Geschäftsführer: Günter Selbert, Stefan Wild




    by Stefan Wild - 02:26 - 17 Dec 2022