The 'interact with desktop' option is still there. So one less reason to stick with the old stuff

However this did not solve the problem...
If I run the test project with CGIDebug included, then the browser receives no response and I have to kill the dbg process to break off the test project. So the CGIDebug unit does work in one way: it starts the dbg. But somehow the dbg still does not get through to the desktop ?
I assumed therefore something is wrong with the constructed commandline:
AProcess.CommandLine := format('cmd /C START "Debugging %s" /WAIT "%s" "%s" "%d"',[paramstr(0),debugger,paramstr(0),GetProcessID]);
I added some code to write the resulting commandline to a file and executed that manually from the system prompt. That gave an error that indicated dbg did not know what to do with the number (the process id). So I changed "%d" to --pid=%d:
AProcess.CommandLine := format('cmd /C START "Debugging %s" /WAIT "%s" "%s" --pid=%d',[paramstr(0),debugger,paramstr(0),GetProcessID]);
This are my latest findings:
C:\Users\Gijs>"C:\lazarus\mingw\bin\gdb.exe" "C:\Users\Gys\Documents\Projects_Lazarus\Test_fclweb\cgiproject1.exe" --pid=3676
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\Users\Gys\Documents\Projects_Lazarus\Test_fclweb\cgiproject1.exe...Reading symbols from C:\Users\Gys\Documents\Projects_Lazarus\Test_fclweb\cgiproject1.dbg...done.
done.
Can't attach to process.
(gdb)
So I still have two problems:
1) The dbg seems unable to attach to the process.
2) This message comes from executing the command manually - there is still no terminal window visible.
What could be wrong ?