I experienced an error which took my time today. Fortunately, this is for unimportant side project.
It just sucks that I spent several hours being confused.

I was trying to register my application with Taskmaster to Windows Task Scheduler. It worked, but somehow my executable didn't launch as expected.

I already tried to log more, but the error happened before the logger works.

In this case, it is better to change executable path to:

cmd /k "exe-name.exe param"

This way, Windows command line will appear. I can see the error there.

This is simple thing, but costed time.