Apple Developer Program needed for testing?

I wanted to ask if it is possible to test the converted ios app before buying the 100$ subscription?
Is the enrollment required only for the same features as when coding in xcode native (e.g. notifications, publishing) or for debugging too?
Thanks in advance