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.

but in this way, we may meet some problems in debug, we can set as the following 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.

浙公网安备 33010602011771号