Page 1 of 1

How do I use FMTK to debug/step through Factorio?

Posted: Sun Sep 14, 2025 10:37 pm
by Zeritor
The documentation for FMTK mentions nothing on -how- to do it, as in set it up and get in to the debugger.

Hitting Debug in VS Code does nothing. There seems to be no way to set up what path to execute the game at. I feel like I'm missing something.

Re: How do I use FMTK to debug/step through Factorio?

Posted: Tue Sep 16, 2025 2:17 pm
by Zeritor
Solved it.

You have to ensure the path to your Factorio is set correctly, there's a "Factorio Version" at the bottom of your VS Code Window. Select that, set "Add another install location", then navigate to your Factorio path and find the executable. Then give it a name and save. Debug mode should now launch Factorio and breakpoints should work.