I’m wondering if it is possible to debug frozen Python code using an IDE such as PyCharm.
The specific context I have is that I’m running a Python child process of a Java parent process. When I have the parent process generate the child by running `python.exe` with a script then I can use PyCharm to attach to the child process and do normal debugging operations like setting breakpoints, single stepping etc. When doing this, PyCharm is communicating with the Python process over pipes, serializing data back and forth. To simplify deployment of my child process, I would prefer to ship a frozen version. When I have my parent process run a frozen child it is not exposing the ports that PyCharm uses to attach to a Python process and debug it. What I’m wondering is: * Is there something I need to do in the Python code that I freeze to make it accessible to a debugger like PyCharm? * The frozen form includes .pyc files. Is there something I need to tell cx_Freeze to make it include the source so the debugger can properly display the original Python code when doing things like setting breakpoints, single stepping, etc? Thanks very much for any guidance. -steve karmesin
_______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users