vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Dev Container PHP & Maria DB (community) PHP 8.0/8.1

Open ArmandArthur opened this issue 3 years ago • 14 comments

Hello,

I had installed this container, the build works but the terminal on vscode no working properly.

So, i can't run the server.

Do you have an idea?

Thx

ArmandArthur avatar Jul 24 '22 23:07 ArmandArthur

Precision, it's works but i need to wait about 5 minutes between each command.

ArmandArthur avatar Jul 26 '22 21:07 ArmandArthur

Hi @ArmandArthur - what version of VS Cod and Remote-Containers are you using?

And it sounds like the dev container does ultimately work, there's just some lag between commands? Do you experience this lag with all commands? With different kinds of images / dev container configurations?

bamurtaugh avatar Jul 27 '22 23:07 bamurtaugh

Hello, sorry for delay. I don't know the versions about the remote-containers but i have updated my vscode with last version.

Else, i have no problem with the extension for Python, only PHP MariaDB is very slow for the console.

ArmandArthur avatar Aug 04 '22 06:08 ArmandArthur

All commands, maybe my computer is not very good. But like i tell you, python works very well.

ArmandArthur avatar Aug 04 '22 06:08 ArmandArthur

This may be machine- or language-specific like you mention, but we can see if other folks also mention they're having issues in this scenario.

bamurtaugh avatar Aug 04 '22 16:08 bamurtaugh

Which folks?

ArmandArthur avatar Aug 05 '22 14:08 ArmandArthur

I was referring to any other users who may try this out!

bamurtaugh avatar Aug 05 '22 15:08 bamurtaugh

Only me?

ArmandArthur avatar Aug 05 '22 15:08 ArmandArthur

We're not certain if this issue may be affecting other users beyond you, so I'm suggesting we leave this issue open for a bit to see if other Remote-Containers users mention they're also experiencing this. If other users aren't experiencing this, and we can't discern a specific bug you're encountering, we may ultimately close this issue. Thanks!

bamurtaugh avatar Aug 05 '22 15:08 bamurtaugh

Thank you. I will try with a other computer when i could buy a new. And i will tell you the results, ok. Good evening.

ArmandArthur avatar Aug 05 '22 15:08 ArmandArthur

My team is noticing a lot of delays between commands in the terminal the last few weeks. We're using the Node+TypeScript devcontainer though.

tinydogio-joshua avatar Aug 09 '22 13:08 tinydogio-joshua

Try disabling the git status portion of the bash prompt. Sometimes this can happen with large repos. Run:

git config codespaces-theme.hide-status 1

Chuxel avatar Aug 10 '22 01:08 Chuxel

Works for me. But git is disable?, i don't see the branch now. Or only label branch?

ArmandArthur avatar Aug 10 '22 02:08 ArmandArthur

Disabling the new shellIntegration setting really sped things up for our team.

https://code.visualstudio.com/updates/v1_70#_terminal

"terminal.integrated.shellIntegration.enabled": false

tinydogio-joshua avatar Aug 10 '22 12:08 tinydogio-joshua

//cc @Tyriar re: performance and the new shell integration

Chuxel avatar Aug 10 '22 13:08 Chuxel

@tinydogio-joshua can you be more specific what you mean by "a lot of delays"? Also what shell were you using?

Tyriar avatar Aug 10 '22 14:08 Tyriar

cc @meganrogge

Tyriar avatar Aug 10 '22 14:08 Tyriar

@tinydogio-joshua can you be more specific what you mean by "a lot of delays"? Also what shell were you using?

We were seeing 3 to 10 second delays typing in pretty much any command. We're all on M1 MacBook Pro's. zsh shell. I know at least one person has oh-my-zsh installed. I have rocketship but as far as I know the rest of the team hasn't customized their shells. Setting the above setting to false brought the performance back up.

It is in a decent sized monorepo. Doing a stock/empty Node+TypeScript devcontainer does not show the same behavior.

tinydogio-joshua avatar Aug 10 '22 15:08 tinydogio-joshua

Let's track the performance problem in https://github.com/microsoft/vscode/issues/157432

Tyriar avatar Aug 10 '22 16:08 Tyriar

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

github-actions[bot] avatar Dec 02 '22 12:12 github-actions[bot]