Skip to content

Commit ba1289b

Browse files
authored
Merge branch 'main' into run-in-terminal-new
2 parents b94ace2 + e2231bc commit ba1289b

File tree

15 files changed

+7942
-3959
lines changed

15 files changed

+7942
-3959
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: build
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_dispatch]
44

55
env:
66
FORCE_COLOR: 3
@@ -13,25 +13,25 @@ jobs:
1313
matrix:
1414
include:
1515
# Latest versions
16-
- xdebug: xdebug-3.3.2 # renovate:keep-up-to-date
16+
- xdebug: xdebug-3.4.2 # renovate:keep-up-to-date
1717
php: '8.2' # renovate:keep-up-to-date
1818
os: ubuntu-22.04
19-
- xdebug: xdebug-3.3.2 # renovate:keep-up-to-date
19+
- xdebug: xdebug-3.4.2 # renovate:keep-up-to-date
2020
php: '8.1' # renovate:keep-up-to-date
2121
os: windows-2022
22-
- xdebug: xdebug-3.3.2 # renovate:keep-up-to-date
22+
- xdebug: xdebug-3.4.2 # renovate:keep-up-to-date
2323
php: '8.2' # renovate:keep-up-to-date
24-
os: macos-12
24+
os: macos-14
2525
# Old versions
2626
- xdebug: xdebug-2.9.8
2727
php: '7.4'
2828
os: ubuntu-22.04
2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
- name: Setup Node.js
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
3333
with:
34-
node-version: '16.14.2' # renovate:keep-up-to-date
34+
node-version: '20.18.2' # renovate:keep-up-to-date
3535
- name: Install npm dependencies
3636
run: npm ci
3737
- name: Prettier
@@ -60,17 +60,19 @@ jobs:
6060
- name: Generate coverage report
6161
run: ./node_modules/.bin/nyc report --reporter=json
6262
- name: Upload coverage to Codecov
63-
uses: codecov/codecov-action@v3
63+
uses: codecov/codecov-action@v5
64+
with:
65+
token: ${{ secrets.CODECOV_TOKEN }}
6466
release:
6567
runs-on: ubuntu-22.04
6668
needs: test
67-
if: github.repository_owner == 'xdebug' && github.event_name == 'push' && github.ref == 'refs/heads/main'
69+
if: github.repository_owner == 'xdebug' && github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main'
6870
steps:
69-
- uses: actions/checkout@v3
71+
- uses: actions/checkout@v4
7072
- name: Setup Node.js
71-
uses: actions/setup-node@v3
73+
uses: actions/setup-node@v4
7274
with:
73-
node-version: '16.14.2' # renovate:keep-up-to-date
75+
node-version: '20.18.2' # renovate:keep-up-to-date
7476
- name: Install npm dependencies
7577
run: npm ci
7678
- name: Build VS Code extension

.vscode/launch.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@
1212
"NODE_ENV": "development"
1313
},
1414
"sourceMaps": true,
15-
"outFiles": ["${workspaceFolder}/out/**/*.js"]
15+
"outFiles": ["${workspaceFolder}/out/**/*.js"],
16+
"preLaunchTask": "npm: watch"
1617
},
1718
{
1819
"name": "Launch Extension",
1920
"type": "extensionHost",
2021
"request": "launch",
2122
"runtimeExecutable": "${execPath}",
22-
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
23+
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "${workspaceFolder}/testproject"],
2324
"sourceMaps": true,
24-
"outFiles": ["${workspaceFolder}/out/**/*.js"]
25+
"outFiles": ["${workspaceFolder}/out/**/*.js"],
26+
"preLaunchTask": "npm: watch"
2527
},
2628
{
2729
"name": "Mocha",

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,25 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7-
## [1.36.0]
7+
## [1.37.0]
88

9+
- Expection info and support for virtual exception property (Xdebug 3.5.0)
910
- Support for console option with internalConsole, integratedTerminal and externalTerminal options.
1011

12+
## [1.36.2]
13+
14+
- Revert watch handling to eval
15+
16+
## [1.36.1]
17+
18+
- Improve handling of watch for static properties
19+
20+
## [1.36.0]
21+
22+
- Implement copy to clipboard in var_export format
23+
- Improve watch eval to cache result or use property
24+
- Update docs
25+
1126
## [1.35.0]
1227

1328
- Support for DBGp stream command

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ More general information on debugging with VS Code can be found on https://code.
8888
- `max_data`: max amount of variable data to initially retrieve.
8989
- `max_depth`: maximum depth that the debugger engine may return when sending arrays, hashes or object structures to the IDE (there should be no need to change this as depth is retrieved incrementally, large value can cause IDE to hang).
9090
- `show_hidden`: This feature can get set by the IDE if it wants to have more detailed internal information on properties (eg. private members of classes, etc.) Zero means that hidden members are not shown to the IDE.
91+
- `breakpoint_include_return_value`: Determines whether to enable an additional "return from function" debugging step, allowing inspection of the return value when a function call returns.
9192
- `xdebugCloudToken`: Instead of listening locally, open a connection and register with Xdebug Cloud and accept debugging sessions on that connection.
9293
- `stream`: Allows to influence DBGp streams. Xdebug only supports `stdout` see [DBGp stdout](https://xdebug.org/docs/dbgp#stdout-stderr)
9394
- `stdout`: Redirect stdout stream: 0 (disable), 1 (copy), 2 (redirect)

0 commit comments

Comments
 (0)