-
Notifications
You must be signed in to change notification settings - Fork 13
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
Jump to editor for devcontainers #33
Comments
Thanks for your report. import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import TurboConsole from 'unplugin-turbo-console/vite'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
TurboConsole({
specifiedEditor: 'code'
})
],
}) |
Please follow these steps on your devcontainers to troubleshooting:
At the same time, please pay attention to whether the terminal prints out some errors. |
Hi @yuyinws, thanks will test it out today. I'm guessing I should run the tests on the container right? I missed to mention I'm using WSL2 too |
Yes, run the tests on the container. |
Within the container I cloned launch editor, ran Within the container I cloned vite turbo console, ran Clicking on the local link it redirects to the browser but with URL: http://0.0.0.0:10104/. That port is the correct port that is mapped to 5173 within the container. The browser doesn't know about 0.0.0.0, but only localhost. http://localhost:10104/ would work Clicking on Turbo console, it opens this url: http://localhost:3070/inspect and I get the empty inspect as I demonstrated above. |
I tried mapping port 3070:3070 from host to container, but when I run vite turbo console and clicking on the turbo console link, I'm redirected to http://0.0.0.0:3070/inspect, which since of 0.0.0.0 the browser does not know about. If I change the url to http://localhost:3070/inspect, I still get an empty inspect |
I think the issue could be that my vite port mapping is a different fixed port, for example in my case: 10107:5173 Would be nice to have a config to specify that port 🙏 |
Clear and concise description of the problem
In my local environment I'm using vscode devcontainers, hence I'm loading my code from within a docker container. The jump to editor link is not working with this setup, any chance to add this feature?
Suggested solution
Jump to editor within a devcontainer setup
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: