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
Docker Support or relative path option #135
Comments
My exact question, thanks for bringing this up. What extension setting did you use to stay within your container? |
Right now I am using While it does work, I have a few tools that need to be ran from outside the container. There are also some extensions that used to not run correctly on the container; however, are working fine now. |
If you can provide a step-by-step guide on how to setup such environment, I can take a look if it's possible to implement it with our new architecture. |
Is your feature request related to a problem? Please describe.
I'm running my client on Docker, and would like to be able to initiate my tests from vscode on my host machine.
I can almost do so, by changing the extension settings to call a different command; however, the filenames to test are incorrect for my docker machine.
Describe the solution you'd like
I think the easiest solution would be an options to setup a relative path mode.
Instead of passing the file "/home//repos//tests/a.test.ts", passing "tests/a.test.ts"
Or a way for me to remap "/home//repos//" to whatever file structure the docker image is using (less preferred)
Describe alternatives you've considered
I am going to see if I can get my other extensions to work on the docker container, then I could just run this extension directly on the image.
Additional context
I'm developing using Laravel Sail, so all I needed to do was change the command option to "sail npm run test" to get the extension to call into my docker container. That being said, the paths are still incorrect.
The text was updated successfully, but these errors were encountered: