Index: tests/standalone/debugger/debug_lib.dart |
diff --git a/tests/standalone/debugger/debug_lib.dart b/tests/standalone/debugger/debug_lib.dart |
index 8c9dc3e7cd84c19fde21010565ad7a5c6c158673..f813e3b3f20daba99c40aeb9a053be4d00780730 100644 |
--- a/tests/standalone/debugger/debug_lib.dart |
+++ b/tests/standalone/debugger/debug_lib.dart |
@@ -607,7 +607,7 @@ bool RunScript(List script, List<String> arguments) { |
// Port number 0 means debug target picks a free port dynamically. |
var targetOpts = [ "--debug:0" ]; |
- targetOpts.add(Platform.script); |
+ targetOpts.add(Platform.script.toFilePath()); |
targetOpts.add("--debuggee"); |
print('args: ${targetOpts.join(" ")}'); |