justarandomgeek / vscode-factoriomod-debug

Factorio Mod Tool Kit
Other
97 stars 21 forks source link

If steam requires game to restart then the debugadapter is disabled prematurely #99

Closed Gnuxie closed 9 months ago

Gnuxie commented 9 months ago
using modsPath /home/user/.factorio/mods (workspace)
package install debugadapter {"using":"1.1.37","from":"existing","previous":false}
debugadapter enabled in mod-list.json
   0.000 Initializing Steam API.
steam.sh[31841]: STEAM_RUNTIME is enabled automatically
setup.sh[31910]: Steam runtime environment up-to-date!
steam.sh[31841]: Steam client's requirements are satisfied
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
   0.000 Steam requires game restart, restarting...
debugadapter disabled in mod-list.json

The game then opens an Error window saying "--instrument-mod-debugadapter" specified but named mod is not enabled

justarandomgeek commented 9 months ago

https://github.com/justarandomgeek/vscode-factoriomod-debug/blob/current/doc/debugadapter.md#steam

Gnuxie commented 9 months ago

Thanks