Skip to content
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

VSCode tasks don't run properly on Cmder #1985

Closed
empz opened this issue Dec 13, 2018 · 25 comments
Closed

VSCode tasks don't run properly on Cmder #1985

empz opened this issue Dec 13, 2018 · 25 comments

Comments

@empz
Copy link

empz commented Dec 13, 2018

I've followed the instructions here and I'm able to run Cmder as VSCode integrated terminal.
Everything seems to be working fine, except for VSCode > Run Task which ouputs a lot of stuff but doesn't run the task.

Example:
VSCode > Terminal > Run Task > npm start

Integrated terminals shows:

Executing task: npm start
DEBUG(init.bat): Env Var - CMDER_ROOT=D:\Portables\cmder

DEBUG(init.bat): Env Var - debug-output=1

DEBUG(init.bat): Looking for Git install root...

DEBUG(:read_version): Env Var - git_executable=D:\Portables\cmder\vendor\git-for-windows\cmd\git.exe

DEBUG(:read_version): D:\Portables\cmder\vendor\git-for-windows\cmd\git.exe does not exist.

DEBUG(:validate_version): Found Git Version for VENDORED: ...

DEBUG(:read_version): Env Var - git_executable=C:\Program Files\Git\cmd\git.exe

DEBUG(:read_version): Env Var - GIT_VERSION_USER=2.18.0.windows.1

DEBUG(:validate_version): Found Git Version for USER: ...

DEBUG(:enhance_path): Env Var - find_query=C:\\Program\ Files\\Git\\cmd

DEBUG(:enhance_path): Env Var 1 - found=0

DEBUG(:enhance_path): Env Var 2 - found=1

DEBUG(:enhance_path): Env Var - find_query=C:\\Program\ Files\\Git\\mingw64

DEBUG(:enhance_path): Env Var 1 - found=0

DEBUG(:enhance_path): Env Var 2 - found=0

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\epari\AppData\Local\Microsoft\WindowsApps;C:\Users\epari\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\epari\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\epari\AppData\Local\now-cli;D:\Path;C:\Users\epari\.dotnet\tools;C:\Program Files\dotnet;C:\Users\epari\AppData\Roaming\npm;C:\Users\epari\AppData\Local\Yarn\bin

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\mingw64'

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\epari\AppData\Local\Microsoft\WindowsApps;C:\Users\epari\AppData\Local\Programs\Microsoft
VS Code\bin;C:\Users\epari\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\epari\AppData\Local\now-cli;D:\Path;C:\Users\epari\.dotnet\tools;C:\Program Files\dotnet;C:\Users\epari\AppData\Roaming\npm;C:\Users\epari\AppData\Local\Yarn\bin;C:\Program Files\Git\mingw64

DEBUG(:enhance_path): Env Var - find_query=C:\\Program\ Files\\Git\\usr\\bin

DEBUG(:enhance_path): Env Var 1 - found=0

DEBUG(:enhance_path): Env Var 2 - found=0

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\epari\AppData\Local\Microsoft\WindowsApps;C:\Users\epari\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\epari\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\epari\AppData\Local\now-cli;D:\Path;C:\Users\epari\.dotnet\tools;C:\Program Files\dotnet;C:\Users\epari\AppData\Roaming\npm;C:\Users\epari\AppData\Local\Yarn\bin;C:\Program Files\Git\mingw64

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\usr\bin'

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\epari\AppData\Local\Microsoft\WindowsApps;C:\Users\epari\AppData\Local\Programs\Microsoft
VS Code\bin;C:\Users\epari\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\epari\AppData\Local\now-cli;D:\Path;C:\Users\epari\.dotnet\tools;C:\Program Files\dotnet;C:\Users\epari\AppData\Roaming\npm;C:\Users\epari\AppData\Local\Yarn\bin;C:\Program Files\Git\mingw64;C:\Program Files\Git\usr\bin

DEBUG(init.bat): Env Var - GIT_INSTALL_ROOT=C:\Program Files\Git

DEBUG(init.bat): Found Git in: 'C:\Program Files\Git'

DEBUG(:enhance_path_recursive): Env Var - add_path=D:\Portables\cmder\bin

DEBUG(:enhance_path_recursive): Env Var - position=

DEBUG(:enhance_path_recursive): Env Var - max_depth=1

DEBUG(:enhance_path_recursive): Adding parent directory - 'D:\Portables\cmder\bin'

DEBUG(:enhance_path): Env Var - find_query=D:\\Portables\\cmder\\bin

DEBUG(:enhance_path): Env Var 1 - found=0

DEBUG(:enhance_path): Env Var 2 - found=0

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\epari\AppData\Local\Microsoft\WindowsApps;C:\Users\epari\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\epari\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\epari\AppData\Local\now-cli;D:\Path;C:\Users\epari\.dotnet\tools;C:\Program Files\dotnet;C:\Users\epari\AppData\Roaming\npm;C:\Users\epari\AppData\Local\Yarn\bin;C:\Program Files\Git\mingw64;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'D:\Portables\cmder\bin'

DEBUG(:enhance_path): AFTER Env Var - PATH=D:\Portables\cmder\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\epari\AppData\Local\Microsoft\WindowsApps;C:\Users\epari\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\epari\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\epari\AppData\Local\now-cli;D:\Path;C:\Users\epari\.dotnet\tools;C:\Program Files\dotnet;C:\Users\epari\AppData\Roaming\npm;C:\Users\epari\AppData\Local\Yarn\bin;C:\Program Files\Git\mingw64;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Env Var - find_query=D:\\Portables\\cmder

DEBUG(:enhance_path): Env Var 1 - found=0

DEBUG(:enhance_path): Env Var 2 - found=0

DEBUG(:enhance_path): BEFORE Env Var - PATH=D:\Portables\cmder\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\epari\AppData\Local\Microsoft\WindowsApps;C:\Users\epari\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\epari\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\epari\AppData\Local\now-cli;D:\Path;C:\Users\epari\.dotnet\tools;C:\Program Files\dotnet;C:\Users\epari\AppData\Roaming\npm;C:\Users\epari\AppData\Local\Yarn\bin;C:\Program Files\Git\mingw64;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Appending 'D:\Portables\cmder'

DEBUG(:enhance_path): AFTER Env Var - PATH=D:\Portables\cmder\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Users\epari\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\epari\AppData\Local\Microsoft\WindowsApps;C:\Users\epari\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\epari\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\epari\AppData\Local\now-cli;D:\Path;C:\Users\epari\.dotnet\tools;C:\Program Files\dotnet;C:\Users\epari\AppData\Roaming\npm;C:\Users\epari\AppData\Local\Yarn\bin;C:\Program Files\Git\mingw64;C:\Program Files\Git\usr\bin;D:\Portables\cmder

DEBUG(init.bat): Env Var - HOME=C:\Users\epari

Not sure if a bug in VSCode, cmder or in the integration between the two.

@daxgames
Copy link
Member

@eparizzi what you are seeing is cmder debug output normally enabled using the init.bat /d command. What command is being run in vscode config?

@empz
Copy link
Author

empz commented Dec 13, 2018

My VS Code integrated settings are:

"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"terminal.integrated.shellArgs.windows": [
  "/k",
  "%CMDER_ROOT%\\vendor\\init.bat"
],

%CMDER_ROOT% points to D:\Portables\cmder where cmder is located.

The terminal works fine by using it normally. It just doesn't work when running a VS Code task.

@bytemain
Copy link

bytemain commented Jan 1, 2019

I meet the same problem.
When I run the build task, it will run perfect.
image
but when I run the "run task", the terminal shows:
image


my tasks.json:

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Build",
      "command": "g++",
      "args": [
        "-g",
        "-Wall",
        "-fexec-charset=GBK",
        "-std=c++17",
        "-lm",
        "${file}",
        "-o",
        "${fileDirname}/${fileBasenameNoExtension}.exe"
      ],
      "problemMatcher": {
        "owner": "cpp",
        "fileLocation": "absolute",
        "pattern": {
          "regexp": "^(.*):(\\d+):(\\d+):\\s+(error):\\s+(.*)$",
          "file": 1,
          "line": 2,
          "column": 3,
          "severity": 4,
          "message": 5
        }
      },
      "group": {
        "kind": "build",
        "isDefault": true
      }
    },
    {
      "label": "Run",
      "type": "shell",
      "dependsOn": "Build",
      "command": "${fileDirname}/${fileBasenameNoExtension}.exe",
      "args": [],
      "presentation": {
        "echo": true,
        "reveal": "always",
        "focus": false
      },
      "problemMatcher": [],
      "group": {
        "kind": "test",
        "isDefault": true
      }
    }
  ]
}

and my VSCode integrated settings are the same as @eparizzi .
I had set the %CMDER_ROOT% .

@hyc0612
Copy link

hyc0612 commented Mar 1, 2019

i have encountered the same problem. wondering if it has been solved?
not only so many DEBUG(....) messages are output, it seems like the command in tasks.json does not actually run at all

@daxgames
Copy link
Member

daxgames commented Mar 1, 2019

Vscode is feeding in an argument that init.bat is seeing as a '/d' See the references PR fir a workaroind

@DRSDavidSoft
Copy link
Contributor

BTW, the reason for this issue has been explained by @patstew here:
microsoft/vscode#48986 (comment)

The problem is that the VS Code documentation recommends doing this to start cmder:

"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"terminal.integrated.shellArgs.windows": ["/K", "C:\\cmder\\vscode.bat"]

and you can only have one /K or /C, so appending another one to do the task doesn't work. You'd need to to end up with an arguments array like:
["/K", "C:\\cmder\\vscode.bat", "&", "task_command", "task_arg"]

@hyc0612
Copy link

hyc0612 commented Mar 11, 2019 via email

@DRSDavidSoft
Copy link
Contributor

DRSDavidSoft commented Mar 11, 2019

@hyc0612 Sorry if my comment was unclear.

Basically, this means that a fix should be made to VS Code in order to make tasks work.

Unfortunately, there is no solution that you can use right now to make it work; instead the creators of VS Code and us should work on something to fix the problem.

Please wait while we work on either a fix or a workaround for this issue. 😉

@kamenminkov
Copy link

I had the same issues with cmder, couldn't get any of the supposed workarounds to actually work, finally got shark (a fork of cmder), it seems to be running fine. The config needed is the following:

"terminal.integrated.shellArgs.windows": [
    "/k C:\\shark\\modules\\init.cmd"
]

@daxgames
Copy link
Member

daxgames commented Mar 11, 2019

@kamenminkov are you launching a shell using shark or are you running a task via vscode using shark? Shell should work the same with shark and cmder. Tasks should fail in both based on Microsoft/vscode#48986 (comment)). The failure on shark though should be different than what is reported here. Instead of all the debug messages reported by cmder users the task would just not run at all.

@kamenminkov
Copy link

@daxgames Sorry, my bad, ignore my previous comment; I was not launching tasks through the native VSCode feature but by using Quick Task. Shark and cmder differ (for me at least) only by that cmder outputs all that debug info before showing the prompt (shark shows the prompt right away); both shark and cmder seem to break the task the moment the prompt is initialised. I suppose it's a matter of how (in what order) the arguments are passed to cmd.exe.

@daxgames
Copy link
Member

@kamenminkov you are experiencing exactly as I thought but explained poorly

@StableCoder
Copy link

StableCoder commented Mar 18, 2019

There is a hacky way to get tasks to work. As by default using the Cmder shell with tasks will fail. However, in the associated tasks.json file, we can override the VSCode shell and default behaviour for tasks, and have Cmder initialized a bit more manually:

{
    "version": "2.0.0",
    "windows": {
        "options": {
            "shell": {
                "executable": "cmd.exe",
                "args": [
                    "/d", "/c", "[cmder_root]\\vendor\\init.bat", "&&"
                ]
            }
        }
    },
    "tasks": [
        {
            "label": "Build",
            "type": "shell",
            "command": "cd ${workspaceFolder}/build && make"
        },
...

This, when placed in the tasks.json file will override the shell specifically to run said tasks, without the need to modify the regular VSCode settings.json.

@kamenminkov
Copy link

@StableCoder This works if I disable the "terminal.integrated.shellArgs.windows" setting, which defeats the whole purpose - if I want to open a new terminal without a task, it opens a bare cmd. I wouldn't mind bare cmd for tasks themselves.

@kayzzen01
Copy link

I could not make it work.
@kamenminkov and @StableCoder
Did it work for you?

My option was to create a script in bash and put the git-bash that comes in the cmder as the default terminal. I had to run rsync.

@StableCoder
Copy link

I could not make it work.
@kamenminkov and @StableCoder
Did it work for you?

Yes. I just re-tested in 1.33.1, and it works fine. This is my whole tasks.json file I used to use Cmder specifically as the task shell, since using it without spews plenty of garbage:

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "windows": {
        "options": {
            "shell": {
                "executable": "cmd.exe",
                "args": [
                    "/d", "/c", "C:\\tools\\Cmder\\vendor\\init.bat", "&&"
                ]
            }
        }
    },
    "tasks": [
        {
            "label": "BuildIt",
            "type": "shell",
            "command": "cd ${workspaceFolder}/build && make && echo All done!",
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}

Again, specifying it in the tasks.json file overrides just the task shell environment. Shouldn't affect regular integrated terminal use, or the specified "terminal.integrated.shellArgs.windows" in the regular settings.json file.

@kamenminkov
Copy link

What works for me is just specifying cmd.exe in tasks.json (I don't want to be polluting project-wide tasks with stuff specific to me) and passing the tasks as shell commands (as opposed to using the type property for things like gulp and npm). So at the top I have just that:

{
    "version": "2.0.0",
    "windows": {
        "options": {
            "shell": {
                "executable": "cmd.exe",
                "args": ["/d", "/c"]
            }
        }
    },
    // ...
}

... and instead of using the type property for things like npm and gulp, I pass them on directly to the shell, i.e. instead of

{
    // ...
    "tasks": [
        {
            "type": "npm",
            "script": "start",
            "problemMatcher": [
                "$gulp-tsc"
            ],
            // ...
        }
    ]
}

I have

{
    // ...
    "tasks": [
        {
            "label": "default",
            "command": "npm run start",
            "type": "shell",
            "args": [],
            "problemMatcher": [
                "$gulp-tsc"
            ],
            "presentation": {
                "group": "dev",
                "reveal": "always",
                "focus": false,
                "panel": "dedicated"
            },
            "group": "build",
            "runOptions": {
                "runOn": "folderOpen"
            }
        }
    ]
}

This even works to start tasks at project open. What doesn't always work is interrupting the task with Ctrl+C (thus I have to kill the whole terminal instance), but it might be a different, unrelated bug.

@kayzzen01
Copy link

@StableCoder and @kamenminkov

Thank you ! I'll take your example and test.

@SupinePandora43
Copy link
Contributor

#2113

@ajaymittur
Copy link

#2113

Got the vscode_init.cmd file mentioned in the above PR and moved it to my %CMDER_ROOT%/vendor/bin and updated my setting.json as shown by @SupinePandora43

Cmder now runs tasks normally without any issues for me

@SupinePandora43
Copy link
Contributor

@ajaymittur28 , i created vscode_init script specially for fixing vscode tasks!

@a4z
Copy link

a4z commented Oct 7, 2019

would this work even if the shell for vs code is set to powershell, together with cmder ?
or does this only work for cmd.exe?

@SupinePandora43
Copy link
Contributor

@a4z , its uses cmd.exe for starting vscode_init.cmd, if it has arguments -> run these commands (using cmd.exe), if it has no arguments -> run vendor\init.bat

@erlangparasu
Copy link

I experienced the same problem. I am forced to remove the cmder integration from vscode to do debugging

@bytemain
Copy link

bytemain commented Dec 8, 2019

I experienced the same problem. I am forced to remove the cmder integration from vscode to do debugging

already have a solution
#2113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

13 participants