-
Notifications
You must be signed in to change notification settings - Fork 5
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
Doesn't seem to work in dev containers #121
Comments
Thanks for sharing. Few cursory questions:
|
windows 10 Double checked that I do indeed have the extension installed in my dev container I have no experience with vscode development, but I know there is a developer tools, can I debug the extension from there? (Or would I have to install / work from the source?) Maybe I could find out if it's not able to detect the file changes... Maybe due to file paths. I believe the devcontainer mounts my workspace folder as a docker volume. (my workspace folder is in the windows file system and not WSL) idea/thought dump (shots in the dark xD): |
Yeah, file system issues between windows and wsl was my first troubleshooting guess. You've probably already gone through this but sharing for posterity: https://code.visualstudio.com/docs/devcontainers/tips-and-tricks. I think the easiest way to troubleshoot is probably to just clone this repo, open it up in VS Code and then use the launch configuration that's included in this repository. That will launch a new VS Code instance enabled with source debugging enabled, so you should be able to set breakpoints (in the initial/original VS Code instance) As a starting point I'd recommend dropping breakpoints at the below locations: vscode-workspace-config-plus/src/index.js Line 35 in 194868f
vscode-workspace-config-plus/src/lib.js Line 28 in 194868f
And be sure to inspect the locals pointing to the watched files |
Also, maybe you need to make sure the confg+ extension is installed inside your container? https://code.visualstudio.com/docs/devcontainers/containers#_managing-extensions |
First, this is awesome!
Sadly it appears to not work when running inside a dev container. (Basically a docker instance.)
This might be too much of an edge case, but if you have any advice ideas on how I could diagnose this more that would be awesome!
Behavior:
Running Windows, with my linux dev container (a Docker Container) run via WSL2.
Theoretically it should be possible for it to work I think. The editorconfig extension works within the devcontainer (it detects file changes on save and rewrites the file with correct styling).
The text was updated successfully, but these errors were encountered: