jArchi script debugger tooling / debug strategy

Started by Iyaka, November 20, 2024, 17:31:45 PM

Previous topic - Next topic

Iyaka

Hi everyone,

Newbie question: Is there a way to use a debugger or anything similar that can help to debug jArchi scripts. (i.e. breakpoint, value watcher/inspection etc.) What would be the best strategy to debug ?

Do I have to stick with console.log(....) to find what's going on ? is there something better around ?

Any tooling, hints, links will be very much appreciated.

Thanks a lot

ps: sorry I should have post this in jArchi branch, I don't know how to move it

Jean-Baptiste Sarrodie

Hi,

There is no built-in debugger in Archi, so the usual way is to add console.log() statements.

Recently, I found a way to use the debugger built into Chrome and MsEdge, but this requires a special build of jArchi and then to follow a specific procedure that I wrote. I guess the needed dependencies could be added to the next version of jArchi so that it becomes easier (but that's still for "power users").

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.