On Sat, 16 Dec 2017 17:36:14 +0100 (CET)
Michael Van Canneyt <mich...@freepascal.org> wrote:

>[...]
> * Debugging:
> 
> Obviously, the browser debugger can be used to debug the Javascript.
> But there is more: the compiler can emit a source map, and this means that
> if the browser finds the source file, it will display the original source
> file instead of the javascript. You can debug Object pascal in the browser.

Hint: Passing -Jminclude to pas2js will include the Pascal sources in
the map, so you don't need to worry about paths.

Mattias
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to