COMMUNITY

How to keep haxe log position when target to js?

how to keep haxe log position info when target to js?

log

it’s seem only got js postion when got exceptions.?

 /root/dist/http.js:12826
                return decodeURIComponent(this1.split("+").join(" "));
                    ^

URIError: URI malformed
    at decodeURIComponent (<anonymous>

You can generate source-mapping with -debug