vscode-mock-debug

用于为VSCode开发调试适配器的入门示例。(Starter sample for developing debug adapters for VSCode.)

  • 所有者: microsoft/vscode-mock-debug
  • 平台: Linux, Mac, Windows
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

VS Code Mock Debug

This is a starter sample for developing VS Code debug adapters.

Mock Debug simulates a debug adapter for Visual Studio Code.
It supports step, continue, breakpoints, exceptions, and
variable access but it is not connected to any real debugger.

The sample is meant as an educational piece showing how to implement a debug
adapter for VS Code. It can be used as a starting point for developing a real adapter.

More information about how to develop a new debug adapter can be found
here.
Or discuss debug adapters on Gitter:
Gitter Chat

Using Mock Debug

  • Install the Mock Debug extension in VS Code.
  • Create a new 'program' file readme.md and enter several lines of arbitrary text.
  • Switch to the debug viewlet and press the gear dropdown.
  • Select the debug environment "Mock Debug".
  • Press the green 'play' button to start debugging.

You can now 'step through' the readme.md file, set and hit breakpoints, and run into exceptions (if the word exception appears in a line).

Mock Debug

Build and Run

build status
build status

  • Clone the project https://github.com/Microsoft/vscode-mock-debug.git
  • Open the project folder in VS Code.
  • Press F5 to build and launch Mock Debug in another VS Code window. In that window:
    • Open a new workspace, create a new 'program' file readme.md and enter several lines of arbitrary text.
    • Switch to the debug viewlet and press the gear dropdown.
    • Select the debug environment "Mock Debug".
    • Press F5 to start debugging.

主要指標

概覽
名稱與所有者microsoft/vscode-mock-debug
主編程語言TypeScript
編程語言TypeScript (語言數: 1)
平台Linux, Mac, Windows
許可證Other
所有者活动
創建於2015-10-07 09:21:19
推送於2025-08-06 18:44:27
最后一次提交2021-09-22 16:43:29
發布數5
最新版本名稱v0.52.0 (發布於 )
第一版名稱vscode-1.0.0 (發布於 2016-03-26 21:36:40)
用户参与
星數340
關注者數42
派生數197
提交數451
已啟用問題?
問題數62
打開的問題數11
拉請求數33
打開的拉請求數5
關閉的拉請求數9
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?