dart_frog
dart_frog copied to clipboard
fix(vscode): breakpoints not being hit on Windows
Description
Debugging on a Windows machine doesn't hit the breakpoints.
Steps To Reproduce
- Install dependencies (from: extensions/vscode):
npm i
- Start the development host with F5 (from: extensions/vscode):
- Open a Dart Frog project and hit the Debug CodeLens.
- Send a request to the server.
For more information see the videos below.
Expected Behavior
Breakpoints should be hit when running on Windows.
Recordings
Debugging on Windows 11 (Virtual Machine)
https://github.com/VeryGoodOpenSource/dart_frog/assets/44524995/ebe1e40e-3ba3-46ab-9890-8e53763a5170
Debugging on MacOs
https://github.com/VeryGoodOpenSource/dart_frog/assets/44524995/d564bb43-cb32-4b98-9c5c-03850e8baa42
Confirmed with dart_frog 1.1.0 using 0.2.3 vscode extension on Windows 11 23H2 (22631.4037)
@dhemasnurjaya are you interested in contributing a fix? The team can help you review the Pull Request and land it in, if you're interested.