in reply to How to use Perl_init_debugger in XS code?
I may have not explained very well.
From the various docs, the function Perl_init_debugger should exist for XS modules to call, but it doesn't. Using the raw source code for Perl_init_debugger solves my problem.
The wisdom from the link is
to use objdump to confirm the symbol exists, since it should exist
and to make sure you're not having conflicting/old mingw/gcc...something in your %PATH%, which might be causing the error