Pycharm debugging

66 views
Skip to first unread message

icodk

unread,
Sep 21, 2023, 5:56:19 PM9/21/23
to py4web
Just wanted to  share that I am using Pycharm for py4web development  and it works great with breakpoints call stack and variable inspection.
I had some issues with an older version but the current version works for me:

PyCharm 2021.2.4 (Community Edition)
Build #PC-212.5712.39, built on December 21, 2021
Runtime version: 11.0.13+8-b1504.49 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2034M
Cores: 4

Jim Steil

unread,
Sep 22, 2023, 12:21:26 PM9/22/23
to py4web
I'll second that, I've been using it for years and it is very valuable

-Jim

Luca de Alfaro

unread,
Sep 22, 2023, 1:24:40 PM9/22/23
to Jim Steil, py4web
Yes. 

You can also use VSCode for debugging and it also works.  Just a bit less well.  For instance, in PyCharm when there is an error, if you click on the error log it sends you to the place where the error occurred; not so in VSCode. 

I typically use PyCharm when connected to AC Power, and VSCode, which is more lightweight, when on battery power :-) 

--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/a324888d-d7ea-4a19-baa2-e4bb76d00abbn%40googlegroups.com.

Hadi Zarkoob

unread,
Oct 3, 2023, 2:47:32 AM10/3/23
to py4web
Variable inspection during debugging is also available in VS Code. To use this feature, one needs to halt any ongoing debugging session, set breakpoints as required, and initiate a fresh debugging session. The variables can then be inspected in the DEBUG CONSOLE, which is available in the same panel as the terminal.

One feature I greatly like in VS-Code is the search engine conveniently available on the left sidebar. This feature is available in PyCharm too, but it is not as user-friendly.

- Hadi






Reply all
Reply to author
Forward
0 new messages