Skip to content

vscode xmake调试的时候无法进行标准输入输出,并且默认调试参数无法正常使用 #187

Answered by waruqi
wanzzhehe asked this question in Q&A
Discussion options

You must be logged in to vote

因为你配置的格式不对,解析失败。。default 指的是默认的运行 target 的参数列表。你里面又去套了个 client target 。。json array 变成了 json dictionary

{
    "xmake.debuggingTargetsArguments": {
        "default": [],
        "client": ["127.0.0.1"]
    }
}

如果只是默认目标,只需要

{
    "xmake.debuggingTargetsArguments": {
        "default": ["127.0.0.1"]
    }
}

配置项那有提示的。。仔细看下

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@waruqi
Comment options

@wanzzhehe
Comment options

@waruqi
Comment options

Answer selected by wanzzhehe
@wanzzhehe
Comment options

@waruqi
Comment options

@wanzzhehe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants