zero-plusplus / vscode-autohotkey-debug

https://marketplace.visualstudio.com/items?itemName=zero-plusplus.vscode-autohotkey-debug
53 stars 4 forks source link

Can not extend 'UseOutputDebug' #284

Closed PythonYunfei closed 1 year ago

PythonYunfei commented 1 year ago
"launch": {
        "version": "0.2.0",
        "configurations": [
            {
                "type": "autohotkey",
                "request": "launch",
                "name": "AhkDebuggerPlus",
                "program": "${file}",
                "stopOnEntry": false,
                "runtime_v2":"${fileWorkspaceFolder}\\Interpreter\\AutoHotkey64.exe",
                "runtime_v1":"C:\\Program Files\\AutoHotkey\\AutoHotkeyU64.exe",
                "usePerfTips": {
                    "format": "{{elapsedTime_s}}s passed",
                    "fontStyle": "italic",
                    "fontColor": "yellow"
                },
                "useOutputDebug": {
                    "useTrailingLinebreak": true
                },
            },

            {
                "extends": "AhkDebuggerPlus",
                "type": "autohotkey",
                "request": "launch",
                "name": "AHK2DebuggerA136",
                "runtime_v2":"${workspaceFolder:AHK2Interpreter_a136}\\AutoHotkey64.exe",
            },
        ],
    }

Here are my launch settings. useOutputDebug feature will work in AhkDebuggerPlus debugger but will not work in AHK2DebuggerA136

zero-plusplus commented 1 year ago

Research has shown that the extends attribute does not work in the workspace. You can track this issue here.

So I would like to close this issue, is that ok?

PythonYunfei commented 1 year ago

Sure.

zero-plusplus commented 1 year ago

ok. Thank you for your report.