Skip to content

Commit 88374f7

Browse files
committed
update intial debug configurations
1 parent 86f1385 commit 88374f7

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All notable changes to the "ev3dev-browser" extension will be documented in this
44
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
55

66
## Unreleased
7+
### Changed
8+
- Initial debug configuration has new example to run current file
79
### Fixed
810
- Activate extension on command pallette command
911
### Added

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,18 @@
249249
],
250250
"initialConfigurations": [
251251
{
252-
"name": "Download and Run",
252+
"name": "Download and Run current file",
253253
"type": "ev3devBrowser",
254254
"request": "launch",
255-
"program": "/home/robot/myprogram (replace this with the actual path)",
256-
"interactiveTerminal": false
255+
"program": "/home/robot/${workspaceFolderBasename}/${relativeFile}",
256+
"interactiveTerminal": true
257+
},
258+
{
259+
"name": "Download and Run my-program",
260+
"type": "ev3devBrowser",
261+
"request": "launch",
262+
"program": "/home/robot/${workspaceFolderBasename}/my-program (replace 'my-program' with the actual path)",
263+
"interactiveTerminal": true
257264
}
258265
]
259266
}

0 commit comments

Comments
 (0)