My environment is macOS and I don't have Windows environment. I am writing a blog post about Byebug and I want to know if it fully supports Windows or not. Here is information I got:
Might not work?
platform: :mri
option to byebug gem. (see here)restart
) did not work in their Windows PC.Might work?
I am not sure which idea is right. Does anyone know about it?
@deivid says Byebug supports Windows. Then, what is the valid platform option for Gemfile?
:platforms => [:mri, :mingw, :x64_mingw]
or :platforms => [:mri, :mswin]
?
Here are the options exctracted from this page.
In this comment:
mswin and mingw are completely different things.
And mswin seems these packages:
https://www.artonx.org/data/asr/
And Byebug CI is running against mingw and x64_mingw only, so I guess it should be :platforms => [:mri, :mingw, :x64_mingw]
, correct?
Yes, byebug
support Windows.
Rails 5 adds platform: :mri option to byebug gem. (see here)
Windows platforms were probably overlooked when that patch was added.
And this document says mri does not include Windows.
That's right.
I heard some people said that some commands (e.g.restart) did not work in their Windows PC.
Those people should report those issues to the project.
CI tests are passing against Windows environment.(see here)
Thtat's right, the best indicator of support ;)
And I cannot find any limitation on Windows environment in Byebug's README.
Another good indicator :)