Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could the debug adapter be auto-enabled on restart? #153

Open
ClaudeMetz opened this issue Nov 25, 2024 · 2 comments
Open

Could the debug adapter be auto-enabled on restart? #153

ClaudeMetz opened this issue Nov 25, 2024 · 2 comments

Comments

@ClaudeMetz
Copy link

While debugging, when changing my mod list in-game, either through the browser or by syncing with a save, I sometimes forget to enable the debug adapter mod. When restarting the game, it shows this error and quits:

image

Now I know this is my fault, but it would be really nice if FMTK could just re-enable it on its own. Is that possible to do? Can be an setting, but I can't really think of a situation where you'd want this error to pop up.

@justarandomgeek
Copy link
Owner

I'm not really planning to try to improve this with the existing lua-based debugger (i can't let factorio restart itself or i'd lose teh pipes, and there's not really any good way for me to tell it to just tell me to do it), but i do plan to have the native DAP implementation hook the restart to make it nice and clean!

@ClaudeMetz
Copy link
Author

Okay sounds good, no rush :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants