You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple deno program. I'm trying to get hot reloading to work when debugging with Intellij. I have the Deno plugin installed. When I run the program (not debug), --watch works flawlessly.
However, when I try to debug my program with --watch as one of the Command Argument then the debugger fails to reconnect after a file change:
Here's the output on initial debugging
/Users/paymahn/.deno/bin/deno run -A --watch --inspect-brk=127.0.0.1:50617 /Users/paymahn/code/app/main.ts
Watcher Process started.
Debugger listening on ws://127.0.0.1:50617/ws/74ace72e-4412-4e01-8e51-e6a40ef476ac
Visit chrome://inspect to connect to the debugger.
Deno is waiting for debugger to connect.
Debugger session started.
Listening on http://0.0.0.0:8000/
Here's the output after changing a file:
Watcher File change detected! Restarting!
Debugger listening on ws://127.0.0.1:50617/ws/1aa5e818-f575-4a90-ba61-76af5a1265e9
Visit chrome://inspect to connect to the debugger.
Deno is waiting for debugger to connect.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a simple deno program. I'm trying to get hot reloading to work when debugging with Intellij. I have the Deno plugin installed. When I run the program (not debug),
--watch
works flawlessly.However, when I try to debug my program with
--watch
as one of theCommand Argument
then the debugger fails to reconnect after a file change:Here's the output on initial debugging
Here's the output after changing a file:
Beta Was this translation helpful? Give feedback.
All reactions