The shortcut key is F11 to start debugging. But issue is that I have to be on that file and then hit F11 to start debugging. Eg.
my file to launch the application is "launch.py
" and "example.py
".
example.py
is open in the editor whereas launch.py
is not.
Now, if I hit F11 it will try to launch the application using "example.py
" and terminates due to error (as expected).
So then I have to open the "launch.py
" in the editor and then hit F11 to start debugging the application.
Is there any neater way to configure the debugging, so that it starts the application in single hit/key?
Edit: example.py
is some other file (some module). It does not launch the application.