Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Tested on sublime3 #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Context.sublime-menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"caption": "设置断点",
"command": "xdebug_breakpoint"
},
{
"caption": "跳进断点",
"command": "xdebug_continue",
"args": {"state": "step_into"}
},
{
"caption": "跳出断点",
"command": "xdebug_continue",
"args": {"state": "step_over"}
},
{
"caption": "查看变量",
"command": "xdebug_watch"
},
{ "caption": "-", "id": "debugend" }
]
6 changes: 2 additions & 4 deletions Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[
{"keys": ["shift+f8"], "command": "xdebug" },
{"keys": ["f8"], "command": "xdebug_continue" },
{"keys": ["ctrl+f8"], "command": "xdebug_breakpoint"},
{"keys": ["ctrl+shift+f5"], "command": "xdebug_continue", "args": {"state": "run"}},
{"keys": ["ctrl+shift+f6"], "command": "xdebug_continue", "args": {"state": "step_over"}},
{"keys": ["ctrl+shift+f7"], "command": "xdebug_continue", "args": {"state": "step_into"}},
{"keys": ["f8"], "command": "xdebug_continue", "args": {"state": "step_over"}},
{"keys": ["shift+f8"], "command": "xdebug_continue", "args": {"state": "step_into"}},
{"keys": ["ctrl+shift+f8"], "command": "xdebug_continue", "args": {"state": "step_out"}}
]
57 changes: 57 additions & 0 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[
{
"caption": "调试",
"mnemonic": "z",
"id": "Debug",
"children":
[
{
"command": "xdebug_run_with_debug",
"caption": "运行并调试"
},
{
"command": "xdebug_close_listen",
"caption": "停止调试"
},
{
"id": "debugstart",
"caption": "-"
},
{
"caption": "设置断点",
"command": "xdebug_breakpoint"
},
{
"caption": "跳进断点",
"command": "xdebug_continue",
"args": {"state": "step_into"}
},
{
"caption": "跳出断点",
"command": "xdebug_continue",
"args": {"state": "step_over"}
},
{
"caption": "跳过断点",
"command": "xdebug_continue",
"args": {"state": "step_out"}
},
{
"id": "debugend",
"caption": "-"
},
{
"caption": "查看调试状态",
"command": "xdebug_status"
},
{
"caption": "输入调试命令",
"command": "xdebug_execute"
},
{
"caption": "清除所有断点",
"command": "xdebug_clear_all_breakpoints"
},
]
}
]
Loading