How to use Enable Script Debugger option?

Can someone please explain how to set up Script Debugging for SambaPOS.

In Local Settings->Scripting there is a setting called “Enable Script Debugger”

But how to use it?

This was in a private forum so i am pastong it here.

Debugging Javascript


Download Free Visual Studio

Add temporary debugger keyword inside script code.

When that line hits this window will appear.

Clicking Yes will start Visual Studio and you’ll be able to debug / step by step execute your script.

5 Likes

that one little keyword will save a lot of time and heartache,
thank you!