Skip to Content
Menu
This question has been flagged
1 Reply
5294 Views

I'm trying to show by server console the print of a variable or by the chrome developer mode, but I do not know how to do it.
please your support.

Avatar
Discard
Best Answer

You cannot show any log / print statements of the py file to web browser console.

Avatar
Discard

Technically you could by writing a JS function that triggers the PY function and passing the output from the PY function to the JS function, which is then rendered in the console with a console.log message. But yeah, that is total overengineering ;)

Yes, that is the way but yes it needs lots of work, efforts :)

Author

And then how do you feel, if you want to know the value of a variable, by some calculation error, etc.?

Related Posts Replies Views Activity
2
Nov 24
272
1
Oct 24
335
4
Oct 24
326
2
Oct 24
362
2
Dec 24
678