Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilities for debugging Sema #112

Closed
frantic0 opened this issue Mar 14, 2020 · 3 comments
Closed

Utilities for debugging Sema #112

frantic0 opened this issue Mar 14, 2020 · 3 comments

Comments

@frantic0
Copy link
Contributor

frantic0 commented Mar 14, 2020

VS Code's built-in debugger configuration (launch.json)

If you want to use the handy VS Code's built-in debugger with Sema (breakpoints, inspection)

"debug.allowBreakpointsEverywhere": true to the VS Code global settings.json

and here's the config for the debuggers {} launch.json

{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "launch", "name": "Launch Chrome against localhost", "url": "http://localhost:8080", "webRoot": "${workspaceFolder}/" } ] }

these will fix the "Breakpoint set but not yet bound" on the Svelte components hierarchy

microsoft/vscode#52763

sveltejs/sapper-legacy.svelte.dev#37

@frantic0
Copy link
Contributor Author

frantic0 commented Mar 14, 2020

svelte-devtools

Chrome extension for the Svelte javascript framework. It allows you to inspect the Svelte state and component hierarchies in the Chrome Developer Tools.

https://chrome.google.com/webstore/detail/svelte-devtools

Install this on the Chrome instance spawned by the VS Code debugger

@frantic0
Copy link
Contributor Author

frantic0 commented Mar 14, 2020

web-audio-inspector

Chrome extension adds a panel to Chrome Developer Tools that for inspecting the live web audio graph of a web page.

There is a shortcoming though there is no wrapper for AudioWorklet node wrappers.

https://chrome.google.com/webstore/detail/web-audio-inspector

Install this on the Chrome instance spawned by the VS Code debugger

@frantic0 frantic0 added this to the User study release milestone Mar 14, 2020
@frantic0 frantic0 changed the title VS Code's built-in debugger configuration (launch.json) Utilities for debugging Sema Mar 14, 2020
@frantic0 frantic0 pinned this issue Mar 19, 2020
@smilo7
Copy link
Collaborator

smilo7 commented Oct 28, 2021

I am moving this to the wiki as I think its more suited there. https://github.com/mimic-sussex/sema/wiki/Debugging-Sema

but will leave it pinned for the moment as it might be useful for people

@smilo7 smilo7 closed this as completed Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants