Open kuxynator opened 3 years ago
https://github.com/justarandomgeek/vscode-factoriomod-debug/blob/master/workspace.md should answer most of these questions. --mod-directory
is set automatically. Check the Intellisense in launch.json for more information on other options.
How to work in any folder.
./mods
in Factorio's user data directory."modsPath": "${workspaceFolder}"
to launch configurations.
How to setup a comfortable development environment?
So far I haven't used the debug mode yet, because I don't really have an idea how to use it. Current setup: I have
To test (without debug) I call a batch file which copies the zipped src folder to the mod directory and than I call the factorio.exe with parameter
With this setup I have a test environment for each mod.
BUT now I want to debug finally (as I am actually used to for C#)
Now the problems begin:
for you ideas and tips I would be very grateful