You can make it a secondary install. So it is independent of your main install.
https://wiki.lazarus.freepascal.org/Installing_Lazarus_on_Windows#Multiple_Lazarus_installsYou can point it to use the FPC from your main install.
Do not copy the FPC folder. Or if you do, make sure to update the file "fpc.cfg".
Or install an FPC of your choice.
Same for GDB. Or download from our Sourceforge site.
* only gdb debugger.
- You probably just did "make". If you did "make bigide" it should be there.
- On windows the easiest way to build, is to copy an existing lazarus.exe, and the build from the menu.
(Though that breaks every now and then / every few years / and it does break right this week...)
In any case, now that you have a lazarus.exe you can use this.
- Menu: Packages > Install Packages ==> add LazDebuggerFp
and if you are there, also add: Cody, LazDebuggerFpGdbmi, TurboPowerIProDsgn (if it is not installed already)
(any LazDebugger* - you may not need them, but that way you know if any change you make breaks them)
- Then rebuild the IDE.
If you get an error about LazDebuggerIntf or IdeDebugger unit missing => as I said, every now and then it breaks (new build in dependency....)
=> go to package > install package, and install the 2 packages too (or do it before you even try to rebuild).
If there are not listed (they should be, but sometimes...), menu Package > Open Package from file (ide/packages/idedebugger ; components/LazDebuggers/LazDebuggerIntf). Once you had them open, they will appear in the install list.