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

Jails doesn't seem to complain when the config json is incorrect #26

Open
valignatev opened this issue Jul 20, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@valignatev
Copy link

I messed up and added a trailing comma in my jails.json file, and it took a while to figure out why jails won't respect the configuration, because I haven't seen anything in the logs about config not being valid. Seems like the server just silently applies the defaults if something goes wrong. Maybe a log entry about failing to parse the config file would be useful for situations like this.

@SogoCZE SogoCZE added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Jul 24, 2024
@dbechrd
Copy link

dbechrd commented Jul 26, 2024

I also had a fair bit of confusion trying to configure it correctly. It seems like VS code shows the default compilerPath under Workspace settings, even when you click reset and it's supposed to be inheriting the path from User settings. Idk if this is a VS Code bug or what.. but eventually it started working. I think you also have to restart the extension every time you update the config for it to take effect, that seemed to help me.

@valignatev
Copy link
Author

Yeah, restarting the extension a couple times and looking at debug output indicates when it gets the new settings.

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

No branches or pull requests

3 participants