Hi Team,
how to debug in pycharm ?
in a situation where I am accepting input value via command line argument.
But when I run python script via command line, I am not unable to debug.
how to debug in pycharm ?
in a situation where I am accepting input value via command line argument.
But when I run python script via command line, I am not unable to debug.
import sys def main(iCnt): for i in range(iCnt): # I have put break point print(i) if __name__ == "__main__": iCnt = int(sys.argv[1]) # iCnt = 10 main(iCnt)