pycharm usage

1 remote run

1 when you want to debug the code in server, remember the following set.
interpreter: server interpreter
script: use path in server, input directly, do not click the selection
parameters: do not include "" at every line
working directory: server path
also refer to here to view the moudle set method.

image

but in this way, we may meet some problems in debug, we can set as the following image.

image

if meet problem such as "tmp/xxxx/...no such file or directory", delete current ssh interpreter and re-add that, rember sync path he deployment path should be same.
image

posted @ 2023-12-19 06:11  Daze_Lu  阅读(41)  评论(0)    收藏  举报