Debug Adapter for Factorio Mods


An implementation of Debug Adapter Protocol for mods. For use with the associated vscode extension. This is a developer tool, not meant for actual gameplay. It is intentionally desync unsafe. Do not use it in multiplayer.

4 years ago
0.17 - 0.18
41

g Debug core?

4 years ago

Hey! This is neat! Easy to setup and get going.

One question, is it somehow possible to debug files in data/core?
I have breakpoints in both data/base/data.lua and data/core/data.lua but only the one in data/base/data.lua triggers.
Also, if I try to step into data/core/lualib/util.lua I get the error "Could not load source '@core/lualib/util.lua'".
Am I missing some config somewhere? Tried messing with launch.json but no luck.
Have added the entire factorio install dir to the workspace.
Regular install from Factorio website, i.e. not Steam install.

/N

New response