We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf5580a commit 8011329Copy full SHA for 8011329
1 file changed
src/extension.ts
@@ -2078,6 +2078,10 @@ class ExternalDebugConfigProvider implements vscode.DebugConfigurationProvider {
2078
m = /(?:-USB|-SelectEmuBySN) ([^\s]+)/.exec(flasherCfg.otherCmds);
2079
if (m && m.length > 1)
2080
dbgCfg['serialNumber'] = m[1];
2081
+ // -JLinkScriptFile <ScriptFilePath>
2082
+ m = /-JLinkScriptFile ([^\s"]+|"[^"]+")/.exec(flasherCfg.otherCmds);
2083
+ if (m && m.length > 1)
2084
+ dbgCfg['jlinkscript'] = m[1];
2085
}
2086
result.push(dbgCfg);
2087
result.push(newAttachDebugCfg(dbgCfg));
0 commit comments