Can anyone tell me how can i try to debug (or even use..) those libs to use notifications? Do i need to add some permissions in the build configuration?
Generic debugging only supports core plugins. If you want to test phonegap-plugin-push or onesignal, you will have to build either a custom debug module or build the app to test on device.
Refer to this page for information on custom debug module: https://software.intel.com/en-us/xdk/docs/using-the-debug-tab
And refer to this page for an alternative if you are having trouble with custom debug modules: https://software.intel.com/en-us/xdk/docs/using-the-debug-tab#generic_debug