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

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 committed Dec 3, 2024
1 parent 107c106 commit 01dca21
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions browser/breakpoint_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"log"
"net/http"
"sync"
"time"

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

0 comments on commit 01dca21

Please sign in to comment.