JQuery load() to load html/javascript - how can I debug this js?

JQuery load() to load html/javascript - how can I debug this js?

I'm using jquery's load() function to retrieve an HTML snippet and I'm injecting it into the DOM. The HTML references a javascript file and that too is successfully loaded as its contents executes as expected. However, I can't debug this javascript because  Firebug doesn't know it exists. Is there a cleaner way to do all this and still have the ability to debug the Javascript in Firebug? Thanks