Skip to content

Commit fcbb527

Browse files
committed
README: section about debugging using the lime launch configuration type, and supported extensions
1 parent 1c313c5 commit fcbb527

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,33 @@ shortcut. One option would be to set "Run Test Task" in keyboard shortcuts to
6666
<kbd>Ctrl</kbd>+<kbd>Enter</kbd> (<kbd>Cmd</kbd>+<kbd>Enter</kbd>) for accessing
6767
`lime test` quickly.
6868

69+
### Debugging
70+
71+
Lime supports many different build targets, and correctly configuring the
72+
debugger for each of these various targets can be tricky. To make things easier,
73+
the extension includes a special "lime" launch configuration type that will
74+
detect the current Lime build target selected in the status bar, and it will
75+
populate the resolved launch configuration with appropriate file system paths
76+
for executables, working directories, and other important things that the
77+
debugger expects.
78+
79+
```json
80+
{
81+
"name": "Lime",
82+
"type": "lime",
83+
"request": "launch"
84+
}
85+
```
86+
87+
In addition to VSCode's built-in support for debugging JavaScript in Chromium
88+
based browsers, the following debugger extensions are supported for Lime
89+
projects:
90+
91+
- [Debugger for Firefox](https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug)
92+
- [HXCPP debugger](https://marketplace.visualstudio.com/items?itemName=vshaxe.hxcpp-debugger)
93+
- [HashLink debugger](https://marketplace.visualstudio.com/items?itemName=HaxeFoundation.haxe-hl)
94+
- [Debugger for SWF](https://marketplace.visualstudio.com/items?itemName=bowlerhatllc.vscode-swf-debug) or [Flash Debugger](https://marketplace.visualstudio.com/items?itemName=vshaxe.haxe-debug)
95+
6996

7097
## Using Development Builds
7198

0 commit comments

Comments
 (0)