this hint copied from delphi's help:
To debug a Web server application using Personal Web Server, set your application抯 run parameters as follows:
Host Application: c:/Program Files/websvc/system/inetsw95.exe
Run Parameters: -w3svc
This starts the Personal Web Server and allows you to debug your ISAPI
DLL.
Note: Your directory path for inetsw95.exe may differ from the example.
It is more difficult to debug CGI and Win-CGI applications, because the application itself must be launched by the Web server.
......
Another approach you can take with both CGI and Win-CGI applications is first to create and debug your application as an ISAPI or NSAPI application. Once your ISAPI or NSAPI application is working smoothly, convert it to a CGI or Win-CGI application. To convert your application, use the following steps:
1. Right-click the Web module and choose Add To Repository.
2. In the Add To Repository dialog, give your Web module a title, text description, repository page (probably Data Modules), author name, and icon.
8. Choose OK to save your web module as a template.
4. From the main menu, choose File|New and select Web Server Application. In the New Web Server Application dialog, choose CGI or Win-CGI, as appropriate.
5. Delete the automatically generated Web Module.
6. From the main menu, choose File | New and select the template you saved in step 3. This will be on the page you specified in step 2.
....
there's no help about how to debug under frontpage server. just docs about
how to debug under a NetScape server.
details pls read delphi's help