[Pas2js] Debugging pas2js project in vs code
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Feb 18 09:03:02 CET 2019
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
More information about the Pas2js
mailing list