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

Place to get help with not working mods / modding interface.
Zeritor
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Mar 24, 2016 12:04 pm
Contact:

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

Post 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.
Zeritor
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Mar 24, 2016 12:04 pm
Contact:

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

Post 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.
Post Reply

Return to “Modding help”