You should build your snap, so it runs automatically after installation (daemon: simple). All our samples in our SDK are build like this. I would really recommend you to look into the SDK for ctrlX AUTOMATION on GitHub.
To get your application running I would recommend you to do the same things my colleague already proposed:
You should try to run this application outside of the snap context to debug any code issues
Install the snap in your build environment to debug locally in snap context
Install the snap in your ctrlX Virtual CORE and debug via ssh logs
Further hint: if you want integrate into the sidebar of the webinterface or if you want to bind behind our reverseproxy see this: Package Assets.
... View more