Run PyCharm Debugger from the command line? Follow
Completed
Hello,
I would like to write a bash script which among other things, starts running a Pycharm (or Intellij) run command in the IDE at the end.
Is there anyway I can send a message to the Pycharm app, from a bash script (or another application) which will cause Pycharm to "run the debugger on a file"?
Thanks for any help,
- Max
Please sign in to leave a comment.
I was able to achieve this with an apple script
tell application "System Events"
tell application "PyCharm" to activate
delay 0.1
keystroke "s" using {control down, option down}
delay 0.1
keystroke "d" using {control down, option down}
delay 0.1
keystroke "app"
delay 0.1
key code 36 -- enter
end tell