[Pas2js] Debugging pas2js project in vs code

Mr Bee pak.lebah at yahoo.com
Tue Feb 19 04:03:07 CET 2019


Thank you, Mattias. I'll try your recommendation.

–Mr Bee
 

    Pada Senin, 18 Februari 2019 15.03.11 WIB, Mattias Gaertner via Pas2js <pas2js at lists.freepascal.org> menulis:  
 
 On Mon, 18 Feb 2019 00:31:43 +0000 (UTC)
Mr Bee via Pas2js <pas2js at lists.freepascal.org> wrote:

> Hi,
> Could anyone share a hint on how to debug pas2js project in vs code?
> I prefer to use vs code to write web application because it offers
> better tools for html and css editing compare to Lazarus or Delphi.
> It also has better tools for js development. It would be wonderful to
> be able to use pas2js in vs code as well, especially the debugger to
> debug pas2js’ pascal code. Thank you.

I recommend to use the debugger of the browser. Compile with -Jminclude
to create a sourcemap so you see Pascal in the browser.

Mattias
_______________________________________________
Pas2js maillist  -  Pas2js at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190219/f68709bb/attachment-0001.html>


More information about the Pas2js mailing list