So far so good. But now the real magic begins.
**Health Warning**
This next bit ONLY WORKS WITH IREV TYPE FILES. You must switch the name of your file from .lc to .irev to use breakpoints, and use the tag within your script "? rev" not "? lc".
Obviously, this is a really short and simple piece of code, but if you have something long and knarly, you want to be able to stop and start the code, to figure out exactly where your error lies. With the on-rev client you can do this. Insert some breakpoints in your code:
<html>
<head>
<title>Hello World, server style</title>
</head>
<body>
<?lc
put "Hello World!"
breakpoint
put "Hello New World!" after breakpoint
?>
</body>
</html>
Now cilck debug. Your output will now be only "Hello World!". Go back to your client window and you should see the row of buttons along the top of your client are now available. Click "Continue" and the script will complete, outputting
"Hello World!Hello New World! after breakpoint"
Neat, I'm sure you'll agree.