microsoft / vscode-mono-debug

A simple VS Code debug adapter for mono
Other
163 stars 174 forks source link

args array passed as a single argument when launching a mono program #9

Closed weinand closed 8 years ago

weinand commented 8 years ago

From @alfonsogarciacaro on February 9, 2016 20:22

Hi there! I'm experiencing an issue when debugging mono with the new version (0.10.8). This my launch configuration:

        {
            "name": "Launch",
            "type": "mono",
            "request": "launch",
            "program": "path/to/program.exe",
            "args": ["--projFile", "../../temp/Test.fsx"]
        }

Before, VS Code would pass two arguments to the program, but now it passes a single one with both strings joined without spaces ("--projFile../../temp/Test.fsx").

Please tell me if you need more info and thanks for your hard work!

Copied from original issue: Microsoft/vscode#2862

weinand commented 8 years ago

@alfonsogarciacaro I can reproduce for 0.10.8. This is a problem with the new internal console. As a workaround, you can enable the externalConsole and the problem will no longer occur.

This will be fixed in the February release.

alfonsogarciacaro commented 8 years ago

Perfect, thanks a lot for the tip!