|
Speaker: Michelle Petersen
Install the Aptana JavaScript debugger.
|
Welcome to Aptana. My name is Michelle, and I'm going to be demonstrating how
to install the Aptana JavaScript Debugger. When I'm done showing you how to install
the Debugger, I'm going to show you where you can find the configuration options in
case there's anything that you'd like to change about your Debugger configuration.
So to start, you're going to want to have a file open that you want to debug. In
my case, you can see that I have an HTML file open that has some Java Script in it. So
to start, all I'm going to do is press the "Debug" button here. It's telling me that
I don't have the Debugger extension installed yet, and it's asking me if I wish to
install it, so I'll click "yes."
So I see the Aptana Debugger extension for Firefox was successfully installed, so
I'll click "okay." This is automatically going to launch Firefox for me now. So now,
I can actually start running the tests on this page, and I can start debugging. Before
I do that, I'll show you where you can find your configuration options in case there's
anything you'd like to change about your Debugger configuration.
So one place you can find configuration options is under this "Run" menu, where you
go to "Run" > "Debug" and just to point out a couple of configuration options on here,
for "web browser," you'll want this pointing towards Firefox because, currently, the
Debugger is only implemented in Firefox. Under "start action," you can either use
the current page or you can specify a specific page or URL if you want to debug a
page that's on another web server or something like that.
And for "server," you can either use the built-in web server, which is I'll be
doing in all these screencasts or you can specify an external web server, so I'm going
to close this. And one more place that I want to show you some options is in the
"preferences" window, so if you go to "Window" > "Preferences", if you go to
"Aptana" > "JavaScript Debug" here are your debug options. You can choose to suspend
the debugger on the launch of a page, and you can choose to suspend on exceptions,
suspend on errors and suspend on the Debugger Keyword.
That concludes this presentation, and thank you.
[End of Video]
|