test(vscode-ide-companion): registerWebviewPanelSerializer 添加 mock 实现

This commit is contained in:
yiliang114
2025-11-20 14:31:20 +08:00
parent 06a8580361
commit 492c56a780
2 changed files with 3 additions and 17 deletions

View File

@@ -40,10 +40,6 @@ To debug and develop this extension locally:
3. **Start debugging**
You have two options:
**Option A: Debug from Project Root (Recommended)**
```bash
code . # Open the project root in VS Code
```
@@ -52,19 +48,6 @@ To debug and develop this extension locally:
- Select **"Launch Companion VS Code Extension"** from the debug dropdown
- Press `F5` to launch Extension Development Host
**Option B: Debug from Extension Directory**
```bash
cd packages/vscode-ide-companion
code . # Open the extension directory in VS Code
```
- Open the `src/extension.ts` file
- Open Debug panel (`Ctrl+Shift+D` or `Cmd+Shift+D`)
- Select **"Run Extension"** from the debug dropdown
- Press `F5` to launch Extension Development Host
> 💡 **Tip**: Option A is recommended if you need to debug both the extension and core packages together.
4. **Make changes and reload**
- Edit the source code in the original VS Code window
- To see your changes, reload the Extension Development Host window by: