Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 01dca21

Browse files
committed
Remove test code
1 parent 107c106 commit 01dca21

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

browser/breakpoint_server.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"log"
77
"net/http"
88
"sync"
9-
"time"
109

1110
"github.com/gorilla/websocket"
1211
"github.com/sirupsen/logrus"
@@ -74,10 +73,6 @@ func (s *Server) handleWebSocket(w http.ResponseWriter, r *http.Request) {
7473
s.setBreakpoints(breakpoints)
7574
s.logger.Printf("Received breakpoints: %v", breakpoints)
7675
}
77-
go func() {
78-
time.Sleep(time.Second)
79-
s.notifyBreakpointHit(s.breakpoints[0].File, s.breakpoints[0].Line, 0, "page.goto")
80-
}()
8176
case "resume":
8277
log.Println("Received resume command")
8378
s.resumeExecution() // Custom logic to resume execution

0 commit comments

Comments
 (0)