main.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. {
  2. "title": "Debugger",
  3. "description": "Debugger settings",
  4. "jupyter.lab.setting-icon": "ui-components:bug",
  5. "jupyter.lab.setting-icon-label": "Debugger",
  6. "jupyter.lab.menus": {
  7. "main": [
  8. {
  9. "id": "jp-mainmenu-kernel",
  10. "items": [
  11. { "type": "separator", "rank": 1.2 },
  12. { "command": "debugger:restart-debug", "rank": 1.2 }
  13. ]
  14. },
  15. {
  16. "id": "jp-mainmenu-view",
  17. "items": [
  18. {
  19. "command": "debugger:show-panel",
  20. "rank": 5
  21. }
  22. ]
  23. }
  24. ],
  25. "context": [
  26. {
  27. "command": "debugger:inspect-variable",
  28. "selector": ".jp-DebuggerVariables-body .jp-DebuggerVariables-grid"
  29. },
  30. {
  31. "command": "debugger:render-mime-variable",
  32. "selector": ".jp-DebuggerVariables-body"
  33. },
  34. {
  35. "command": "debugger:copy-to-clipboard",
  36. "selector": ".jp-DebuggerVariables-body"
  37. },
  38. {
  39. "command": "debugger:copy-to-globals",
  40. "selector": ".jp-DebuggerVariables-body.jp-debuggerVariables-local"
  41. }
  42. ]
  43. },
  44. "jupyter.lab.shortcuts": [
  45. {
  46. "command": "debugger:show-panel",
  47. "keys": ["Accel Shift E"],
  48. "selector": "body"
  49. },
  50. {
  51. "command": "debugger:continue",
  52. "keys": ["F9"],
  53. "selector": "body"
  54. },
  55. {
  56. "command": "debugger:terminate",
  57. "keys": ["Shift F9"],
  58. "selector": "[data-jp-debugger-stopped-threads='true']"
  59. },
  60. {
  61. "command": "debugger:next",
  62. "keys": ["F10"],
  63. "selector": "[data-jp-debugger-stopped-threads='true']"
  64. },
  65. {
  66. "command": "debugger:stepIn",
  67. "keys": ["F11"],
  68. "selector": "[data-jp-debugger-stopped-threads='true']"
  69. },
  70. {
  71. "command": "debugger:stepOut",
  72. "keys": ["Shift F11"],
  73. "selector": "[data-jp-debugger-stopped-threads='true']"
  74. }
  75. ],
  76. "definitions": {
  77. "variableFilters": {
  78. "properties": {
  79. "xpython": {
  80. "type": "array",
  81. "items": {
  82. "type": "string"
  83. }
  84. }
  85. }
  86. }
  87. },
  88. "properties": {
  89. "variableFilters": {
  90. "title": "Variable filter",
  91. "description": "Variables to filter out in the tree and table viewers",
  92. "$ref": "#/definitions/variableFilters",
  93. "default": {
  94. "xpython": [
  95. "debugpy",
  96. "display",
  97. "get_ipython",
  98. "ptvsd",
  99. "_xpython_get_connection_filename",
  100. "_xpython_launch",
  101. "_pydev_stop_at_break",
  102. "__annotations__",
  103. "__builtins__",
  104. "__doc__",
  105. "__loader__",
  106. "__name__",
  107. "__package__",
  108. "__spec__"
  109. ]
  110. }
  111. },
  112. "defaultKernelSourcesFilter": {
  113. "title": "Default kernel sources regexp filter",
  114. "description": "A regular expression filter to apply by default when showing the kernel sources",
  115. "type": "string",
  116. "default": ""
  117. },
  118. "autoCollapseDebuggerSidebar": {
  119. "title": "Auto Collapse Debugger Sidebar",
  120. "description": "Collapse the debugger sidebar when disabling the debugger on a document.",
  121. "type": "boolean",
  122. "default": false
  123. },
  124. "showPausedOverlay": {
  125. "title": "Show Paused Overlay",
  126. "description": "Show an overlay on the editor or notebook when execution is paused in the debugger.",
  127. "type": "boolean",
  128. "default": true
  129. }
  130. },
  131. "additionalProperties": false,
  132. "type": "object"
  133. }