Follow these instructions to create a simple WebSnap application and test with webappdbg.exe

Create a New WebSnap Application

File/New/Other.../WebSnap/Web Application

View/Project Manager

The html file contains server-side script that generates HTML when evaluated.  The default script generates HTML containing the title of the application, title of the page and links to other published pages in the application.  The links will not be displayed when the page is previewed at design time, but you will see them when the application is run.

The application title is blank by default. You can change the application title by editing the ApplicationAdapter.ApplicationTitle property of the web app module (Home).

The page title defaults to the name of the page (Home).

Configure Delphi

Typically, WebSnap applications contain HTML files that must be saved to disk before running the application. As a convenience, configure Delphi to autosave editor files.

See <%=Pages.ConfigureDelphi.Title%>

Configure the Web App Debugger

If the Web App Debugger has not been configured.

See <%=Pages.TestSvr.Title%>

Run the Application

Run/Run

You have turned on Autosave so you'll be prompted to save the project.  Be sure to save the units in the same directory as the project file. Otherwise, the running application will be unable to find html template files.

You will see a form displayed.  Web App Debugger executables are COM servers.  This is the console window of the COM server.  

The first time that your project is run, it will register a COM object that can be accessed directly by the Web App Debugger.

Start webappdbg.exe (See Tools/Web App Debugger).

Click on the Web App Debugger hyperlink display the serverinfo page.  Serverinfo should display the name of your application.  Use the browser's refresh command if your application is not listed.

Select your application name and click the Go button to display the default page of your application.  To access the home page directly, append "/Home" to the browser's address line.