1. 在要调试的py文件点击右键,找到More Run / Debug->Modify Run Configuration 2. 在Parameters加入参数,然后apply 3. 进行debug调试即可