Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Javascript Debug

by
Holger Brunn
- 18/12/2022 09:15:17
> 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

Reference