Search code examples
pycharm

PyCharm: How to debug `raw_input()` input from keyboard?


I am using Python's raw_input to get input from keyboard.

How do I debug my code with PyCharm? I am unable to input from keyboard when (for example) name = raw_input("Input your name") is executed.


Solution

  • You enter the input into the console that shows up, when you compile and run your script. Like so, the green text is the input.

    enter image description here