Skip to content

Commit ddf158a

Browse files
authored
Merge pull request #179 from ccagml/main
upadte
2 parents a58647d + 986b6b7 commit ddf158a

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## version 2.15.2
2+
3+
- 有些题目不能 debug 的提示
4+
15
## version 2.15.1
26

37
- 参考 wangtao0101/vscode-debug-leetcode 添加 debug

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-leetcode-problem-rating",
33
"displayName": "LeetCode",
44
"description": "%main.description%",
5-
"version": "2.15.1",
5+
"version": "2.15.2",
66
"author": "ccagml",
77
"publisher": "ccagml",
88
"license": "MIT",

src/controller/DebugController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class DebugContorller {
2727
const fileContent: Buffer = fs.readFileSync(filePath);
2828
const meta: ProblemMeta | null = fileMeta(fileContent.toString());
2929
if (!canDebug(meta)) {
30+
window.showErrorMessage("这题还不能debug 麻烦提issuse");
3031
return;
3132
}
3233
let result: any;

0 commit comments

Comments
 (0)