Skip to content

Instantly share code, notes, and snippets.

@joemaller
Created April 8, 2025 17:04
Show Gist options
  • Save joemaller/c196096924c05ca360285dfc57d3abf1 to your computer and use it in GitHub Desktop.
Save joemaller/c196096924c05ca360285dfc57d3abf1 to your computer and use it in GitHub Desktop.
Questions I had on a plane when I couldn't search for answers. (and some answers)

Plane questions

  • Q. How to run vitest with full breakpoint debugging in vscode?

    Open JavaScript Debug terminal from the VS Code terminal dropdown menu. Run the tests normally.

  • how to increase the collapse limit for nested objects in the js console when dumping from vitest?

    This works, but it's gross:

    import util from "node:util";
    console.log("Custom:", util.inspect(deepObject, { depth: 10 }));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment