[electron] Added debugger to Electron build

This commit is contained in:
Christian Weichel 2019-11-19 19:20:40 +01:00 committed by Miro Spönemann
parent 76f126b913
commit 68ff6acb6a
3 changed files with 6 additions and 3 deletions

View File

@ -83,7 +83,7 @@ export class ArduinoVariableResolver implements VariableContribution {
toolLocations[t.name] = t.locations!;
})
switch(argument) {
switch (argument) {
case "openocd":
return toolLocations["openocd"].main;
case "openocd-scripts":

View File

@ -272,9 +272,10 @@ export class BoardsServiceImpl implements BoardsService {
case "openocd":
loc.scripts = path.join(loc.main, "share", "openocd", "scripts");
loc.main = path.join(loc.main, "bin", "openocd");
break
break;
case "arm-none-eabi-gcc":
["gdb", "objdump"].forEach(s => loc[s] = path.join(loc.main, "bin", `arm-none-eabi-${s}`));
break;
}
return loc;

View File

@ -6,6 +6,7 @@
"dependencies": {
"@theia/core": "next",
"@theia/cpp": "next",
"@theia/debug": "next",
"@theia/editor": "next",
"@theia/electron": "next",
"@theia/file-search": "next",
@ -19,7 +20,8 @@
"@theia/terminal": "next",
"@theia/workspace": "next",
"@theia/textmate-grammars": "next",
"arduino-ide-extension": "0.0.4"
"arduino-ide-extension": "0.0.2",
"arduino-debugger-extension": "0.0.2"
},
"devDependencies": {
"@theia/cli": "next"