Hello everyone,
unfortunately I never have a lot of time to devote to Jam.Py (I work very hard on D365 F&O).. but some timeI experiment and carry on some SW that helps me in my work.
When we have to write code that works a lot on data, we always have the dilemma:
do I write it client-side with JS or server-side in Python?
well, if we have to manipulate a lot of data, the server side is much closer to the data and definitely faster..
But it is also true that JS code is easier to debug....
Today I tried for the umpteenth time to debug the server code.
And I succeeded!
With Visual studio code I open the file “server.py” from the project folder d the file “wsgi.py” in the Jam.py folder.
I put a breackpoint at line 747 “def server_func...” where there is “result = func(obj, *params). then I debug ‘server.py’.
On the browser I open the application and run the function that executes the server-side code to debug... et voila!
I can see on Visual studio code my server funcion and I debug every line of code!
Another step is done!
ciao
Fabio