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
Apps in this directory can be used for testing the StarlingMonkey debugger against the Spin runtime.
4
+
They are not intended for testing the SDK itself, or as example applications.
5
+
6
+
- Load the extension (https://github.com/bytecodealliance/StarlingMonkey/tree/main/debugger/vscode-dap-extension) into VS Code and run `npm run esbuild-all`.
7
+
- Update the `launch.json` (https://github.com/bytecodealliance/StarlingMonkey/blob/main/debugger/vscode-dap-extension/.vscode/launch.json) to point to the test Spin app you want to exercise.
8
+
- Hit F5. This loads the Spin app the extension development host with the debugger extension loaded.
9
+
- Set any desired breakpoints or whatever on the Spin app - whatever debugger functionality you want to test.
10
+
- Run `spin build` and hit F5.
11
+
- Make a request to the Spin app (e.g. `curl localhost:3000`) and verify the debugger does whatever you need it to do!
0 commit comments