Re: Starting firefox -venkman

Gijs Kruitbosch <[email protected]> Mon, 19 Nov 2007 20:38:28 +0100
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
Wink Saville wrote:
>  From what I understand starting firefox -venkman should only start
> the debugger and not the browser UI, thus allowing the debugging
> of extension loading. When I do this both the debugger and the
> browser UI is started, not what I expected.
> 
> Is there something I'm doing in correctly or is my expectation incorrect.
> 
> Cheers,
> 
> Wink Saville
> 

Venkman starts up first.
- You can add debugger; statements to your extension's code to have it 
stop there.
- You could be really fast in setting up breakpoints.
- You could create breakpoints when you feel like it while Firefox is up 
normally, and tell Venkman to load them automatically (check "Save 
Break/Watch settings" in the File menu).

~ Gijs