mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-08 03:46:33 +00:00
Merge pull request #111 from bcmi-labs/debugger_cli_update
[debugger] Added --interpreter mi2 flag
This commit is contained in:
commit
3082b3d643
@ -27,6 +27,7 @@ export class ArduinoGDBBackend extends GDBBackend {
|
||||
'debug',
|
||||
'-p', requestArgs.uploadPort || 'none',
|
||||
'-b', requestArgs.fqbn,
|
||||
'--interpreter', 'mi2',
|
||||
sketchDir
|
||||
];
|
||||
const proc = spawn(command, args);
|
||||
|
9
electron/build/scripts/arduino-pro-ide-electron-main.js
Normal file
9
electron/build/scripts/arduino-pro-ide-electron-main.js
Normal file
@ -0,0 +1,9 @@
|
||||
const os = require('os');
|
||||
const path = require('path');
|
||||
// Enables the discovery of the VS Code extensions in the embedded `plugins` folder in the final app.
|
||||
process.env.THEIA_DEFAULT_PLUGINS = `local-dir:${path.resolve(__dirname, '..', 'plugins')}`;
|
||||
process.env.THEIA_PLUGINS = [
|
||||
process.env.THEIA_PLUGINS,
|
||||
`local-dir:${path.resolve(os.homedir(), '.arduinoProIDE', 'plugins')}`
|
||||
].filter(Boolean).join(',');
|
||||
require('../src-gen/frontend/electron-main.js');
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"main": "src-gen/frontend/electron-main.js",
|
||||
"main": "scripts/arduino-pro-ide-electron-main.js",
|
||||
"author": "Arduino SA",
|
||||
"resolutions": {
|
||||
"**/fs-extra": "^4.0.3"
|
||||
@ -54,6 +54,7 @@
|
||||
"files": [
|
||||
"src-gen",
|
||||
"lib",
|
||||
"scripts",
|
||||
"!node_modules/**/*.{ts,map}",
|
||||
"!node_modules/**/*.spec.js",
|
||||
"!node_modules/@theia/**/test/*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user