Replies: 1 comment
-
可以使用断点python pydevd-pycharm.egg
isAddEnv = False
def SETTRACE(**args):
host = args.get('host','localhost')
port = args.get('port',777)
global isAddEnv
if not isAddEnv:
if not KBEngine.hasRes('common/pydevd-pycharm.egg'): return
fullpath = KBEngine.getResFullPath('common/pydevd-pycharm.egg')
sys.path.append(fullpath)
isAddEnv = True
import pydevd_pycharm
pydevd_pycharm.settrace(host, port=port, stdoutToServer=True, stderrToServer=True)
K.s
***@***.***
…------------------ 原始邮件 ------------------
发件人: "kbengine/kbengine" ***@***.***>;
发送时间: 2022年11月23日(星期三) 上午7:43
***@***.***>;
***@***.***>;
主题: Re: [kbengine/kbengine] kbengine 如何调试python代码???????????? (Discussion #1582)
https://blog.csdn.net/qq_37543025/article/details/86656981 不过不建议折腾,打log可以满足大部分情况
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
kbengine 如何调试python代码????????????
Beta Was this translation helpful? Give feedback.
All reactions