Skip to content

Commit 7df7483

Browse files
Merge pull request #6 from phuongdnguyen/refactor-for-publish
Refactor for publish
2 parents 47f3451 + 949d54d commit 7df7483

File tree

33 files changed

+953
-729
lines changed

33 files changed

+953
-729
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ You can run the debugger in:
3535

3636
Install the plugin from:
3737
- [Jetbrains marketplace](https://plugins.jetbrains.com/search?excludeTags=internal&products=androidstudio&products=aqua&products=clion&products=dataspell&products=dbe&products=fleet&products=go&products=idea&products=idea_ce&products=mps&products=phpstorm&products=pycharm&products=rider&products=ruby&products=rust&products=webstorm&products=writerside&search=Temporal%20workflow%20debugger)
38+
39+
- [Vscode marketplace]()

custom-debugger/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Custom Debugger
2+
3+
A multi-language debugger for Temporal workflows that supports Go, Python, and JavaScript.
4+
5+
## Overview
6+
7+
The custom debugger provides debugging capabilities for Temporal workflows by:
8+
- Starting appropriate language-specific debuggers (Delve for Go, DebugPy for Python, JS Debug for JavaScript)
9+
- Acting as a proxy between IDEs and language debuggers
10+
- Supporting both DAP (Debug Adapter Protocol) and JSON-RPC protocols
11+
- Enabling workflow debugging from history files
12+
13+
## Usage
14+
15+
```bash
16+
# Start with default settings (Go language, port 60000)
17+
./custom-debugger
18+
19+
# Specify language and port
20+
./custom-debugger -lang python -p 60001
21+
22+
# Auto-install missing debuggers
23+
./custom-debugger -lang js -install
24+
25+
# Suppress dependency check messages
26+
./custom-debugger -quiet
27+
```
28+
29+
## Supported Languages
30+
31+
- **Go**: Uses Delve debugger
32+
- **Python**: Uses DebugPy debugger
33+
- **JavaScript**: Uses VS Code JS Debug
34+
35+
## Ports
36+
37+
- **60000**: Main debugger proxy port (configurable with `-p`)
38+
- **2345**: Language-specific debugger port
39+
40+
## Dependencies
41+
42+
The debugger automatically checks for and can install required language-specific debuggers:
43+
- Delve for Go workflows
44+
- DebugPy for Python workflows
45+
- JS Debug for JavaScript workflows

0 commit comments

Comments
 (0)