Using Inspectlet With RequireJS

Inspectlet can be used with RequireJS web apps by creating an Inspectlet module for RequireJS.

Once the module has been created, please include it in your config:

'inspectlet': 'apps/inspectlet/inspectlet',  

and add Inspectlet in your dependencies as well:

deps: ['main', 'inspectlet'],  

 so that Inspectlet loads before any other dependencies and avoids conflicts. Your final config file should look something like this.