Skip to content

Commit 9f73296

Browse files
committed
Renamed extension to vscode-gmrdb
Added support for Source engine console (commands and output on debug console) Added sourceFileMap support (thanks @kapecp and @trogper) Removed CHANGELOG as it was mostly referring to changes made on the native Lua module Removed vscode-nls dependency (there's no localization yet)
1 parent af3d389 commit 9f73296

13 files changed

+343
-830
lines changed

.prettierrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"semi": false,
33
"overrides": [
44
{
5-
"files": ["*.md", "*.html"],
5+
"files": ["*.md"],
66
"options": {
7-
"tabWidth": 4
7+
"tabWidth": 2
88
}
99
}
1010
],

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// A launch configuration that compiles the extension and then opens it inside a new window
22
{
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"configurations": [
55
{
66
"name": "Launch Extension",

.vscodeignore

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
.vscode/**
22
.vscode-test/**
3+
node-modules/**
34
out/test/**
4-
test/**
55
src/**
6+
test/**
67
**/*.map
8+
.eslintcache
9+
.eslintignore
10+
.eslintrc.js
711
.gitignore
12+
.markdownlint.json
13+
.prettierignore
14+
.prettierrc.json
15+
jest.config.js
16+
package-lock.json
817
tsconfig.json
9-
vsc-extension-quickstart.md

CHANGELOG.md

Lines changed: 0 additions & 128 deletions
This file was deleted.

README.md

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,49 @@
1-
# Lua Remote DeBugger for Visual Studio Code
1+
# Garry's Mod Remote DeBugger for Visual Studio Code
22

33
## Introduction
44

5-
This extension is debug Lua programs with Visual Studio Code.
5+
This extension allows debugging Lua code and using the Source engine console
6+
of Garry's Mod clients or SRCDS (SouRCe Dedicated Server) instances,
7+
through Visual Studio Code.
68

7-
![Lua Debug](https://raw.githubusercontent.com/satoren/vscode-lrdb/master/images/lrdb.gif)
9+
This fork works only with the Garry's Mod module
10+
[danielga/gm_rdb](https://github.com/danielga/gm_rdb).
11+
12+
Based on the work from
13+
[satoren/vscode-lrdb](https://github.com/satoren/vscode-lrdb) and
14+
[kapecp/vscode-lrdb](https://github.com/kapecp/vscode-lrdb).
15+
16+
![Lua debug](https://raw.githubusercontent.com/danielga/vscode-gmrdb/master/images/lrdb.gif)
817

918
## Features
1019

11-
- Supports Windows,macOS,Linux
12-
- Add/remove break points
13-
- Conditional break points
14-
- Continue,Pause,Step over, Step in, Step out
15-
- Local,Global,\_ENV,Upvalue variables and arguments
16-
- Watch window
17-
- Evaluate Expressions
18-
- Debug with embedded Lua interpreter(Lua 5.3.3 on Javascript by Emscripten)
19-
- Debug with Your host program([require embed debug server](https://github.com/satoren/LRDB))
20-
- Remote debugging over TCP
20+
- Supports Windows, macOS and Linux
21+
- Add/remove breakpoints
22+
- Conditional breakpoints
23+
- Continue, pause, step over, step in, step out
24+
- Local, global, \_ENV, upvalue variables and arguments
25+
- Watch window
26+
- Evaluate expressions
27+
- Remote debugging over TCP
2128

22-
## Extension Settings
29+
## Extension settings
2330

2431
launch.json example:
2532

26-
```
33+
```json
2734
{
28-
"version": "0.2.0",
29-
"configurations": [
30-
{
31-
"type": "lrdb",
32-
"request": "launch",
33-
"name": "Lua Launch",
34-
"program": "${file}",
35-
"cwd": "${workspaceFolder}",
36-
"stopOnEntry": true
37-
}
38-
]
35+
"version": "0.2.0",
36+
"configurations": [
37+
{
38+
"type": "gmrdb",
39+
"request": "attach",
40+
"host": "localhost",
41+
"port": 21111,
42+
"name": "Attach to remote debugger",
43+
"sourceFileMap": {
44+
"${workspaceFolder}": "."
45+
}
46+
}
47+
]
3948
}
4049
```
41-
42-
## Release Notes
43-
44-
[CHANGELOG](CHANGELOG.md)

appveyor.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)