TheNouillet / symfony-vscode

Symfony extension for Visual Studio Code
MIT License
20 stars 22 forks source link

The "--show-private" option does not exist. #49

Open Morgy93 opened 4 years ago

Morgy93 commented 4 years ago

I'm always getting the following error upon startup of VSCode:

The "--show-private" option does not exist.  

debug:container [--show-arguments] [--show-hidden] [--tag TAG] [--tags] [--parameter PARAMETER] [--parameters] [--types] [--env-var ENV-VAR] [--env-vars] [--format FORMAT] [--raw] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<name>]

Doesn't matter if workspace within symfony project or not.

georgi-kirow commented 4 years ago

In your Extension directory find "thenouillet.symfony-vscode-1.0.2\out\symfony\provider\ConsoleContainerProvider.js" on row 26 replace --show-private to --show-hidden. Then restart VSC. Or leave it empty - ""

ashilfree commented 4 years ago

i don't find "thenouillet.symfony-vscode-1.0.2\out\symfony\provider\ConsoleContainerProvider.js"

Morgy93 commented 4 years ago

@ashilfree

i don't find "thenouillet.symfony-vscode-1.0.2\out\symfony\provider\ConsoleContainerProvider.js"

There's a .vscode/extensions folder in your home directory. For example on Windows: %userprofile%\.vscode\extensions or if you're on Linux remote like WSL: ~/.vscode-server/extensions/

leiflundberg commented 4 years ago

@georgi-kirow The above steps worked flawlessly. Cheers

teol commented 3 years ago

Hi,

Is there a way to make it work on both Symfony 4 and Symfony 5 ?

Thank you

W2AlharbiMe commented 2 years ago

greetings, i do have this issue too

The "--show-private" option does not exist. debug:container [--show-arguments] [--show-hidden] [--tag TAG] [--tags] [--parameter PARAMETER] [--parameters] [--types] [--env-var ENV-VAR] [--env-vars] [--format FORMAT] [--raw] [--deprecations] [--] [<name>]

symfony version: 6.0.2 cli version: 5.2.2 operating system: linux(arch) code version: 1.62.0

In your Extension directory find "thenouillet.symfony-vscode-1.0.2\out\symfony\provider\ConsoleContainerProvider.js" on row 26 replace --show-private to --show-hidden. Then restart VSC. Or leave it empty - ""

i can verify that this have fixed the issue

rogervila commented 2 years ago

It also happens on Symfony 6.1 with package version 1.0.2

ili101 commented 11 months ago

This version worked for me https://github.com/QISCT/symfony-vscode/releases/tag/v1.0.3 @QISCT do you guys maybe up to publishing the version to the VS Code Extension Marketplace? (if/until there will be a release here)

nacesprin commented 9 months ago

Will this be fixed?