[Lazarus] debugging a CGI

Michael Van Canneyt michael at freepascal.org
Wed Jan 20 11:13:33 CET 2021



On Wed, 20 Jan 2021, Bo Berglund via lazarus wrote:

> On Tue, 19 Jan 2021 23:31:27 +0100 (CET), Michael Van Canneyt via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
>> Start a 'HTTP server application' in lazarus, add your web module unit to it
>> and run it. (you may need to add some more units or packages, in essence the
>> same oneas as in your CGI application).
>
> This is interesting to me too, but when I go to Project/New Project...
> then the list does *not* contain an entry "HTTP Server Application"
>
> So how exactly do I "start" such project in Lazarus?
>
> I have tested this with Lazarus 2.0.10/Fpc 3.2.0 on Windows 10 but I really need
> it on a Linux platform (Raspberry Pi).

Do you have the weblaz package installed ?

The "New project" type for 'HTTP server Application' is only available if you have that
package installed.

Michael.


More information about the lazarus mailing list