Starting the SDKThe SDK should be started as early in your application execution as possible. This would be different for different web applications, but the following general guidelines can help.
|Python||Django||Start the SDK in wsgi.py file (located in the same directory as settings.py)|
|Python||Flask||Start the SDK after you create the Flask app, and pass the Flask app instance to the SDK|
|Node.js||Express||Start the SDK at the beginning of your project's app.js file|
Configuration fileThe SDK may be facing issues because of incorrect creation of the needle.ini file. The file should be located in the root folder of your project, and should have the right permissions for the SDK to access it.
SDK debug modeYou can turn on the debug mode for the Needle.sh SDK, which will print the verbose output from the SDK to the terminal.