Skip to content

Merge the two debugging guides into one, and lead with installing the extension - #58

Merged
shivamsn97 merged 1 commit into
mainfrom
docs/merge-debugging-guides
Jul 26, 2026
Merged

Merge the two debugging guides into one, and lead with installing the extension#58
shivamsn97 merged 1 commit into
mainfrom
docs/merge-debugging-guides

Conversation

@shivamsn97

Copy link
Copy Markdown
Member

There were two overlapping pages — Debugging and Debugging .pyxl files — so a reader had to find both to get the whole picture. Worse, neither led with the thing you need before any of it works: install the extension.

They are now one guide at guides/debugging.md.

What changed

  • It opens with installing the extension — the Marketplace link, code --install-extension pyxle.pyxle-language-tools, and the Extensions-view route — followed by the two requirements that actually bite: pyxle-framework 0.8.0 or newer in the interpreter VS Code has selected (the launch runs python -m pyxle, which earlier versions don't provide), and the Python extension for Python-side breakpoints.
  • Then F5, then the everyday material (reading the error, the Python side, the SSR side), then the reference sections that were previously split across both pages: how the mapping works, the --inspect flags, attaching any DAP client, the discovery file, reading compiled output, static checks, caveats, troubleshooting and the symptom table.
  • New troubleshooting entry for No module named pyxle.__main__, which means the selected interpreter has a pre-0.8.0 framework.
  • Notes that the browser-served dev source map carries only the JSX lines, so the @server half of a .pyxl is never sent to a client.
  • Every inbound link — docs/README.md, the changelog, studio.md, editor-setup.md and the CLI reference — now points at the single page, with link text updated to match.

Verification

Checked every relative link and anchor in the touched files: zero broken. The anchor the changelog deep-links to (#quick-start-breakpoints-in-a-pyxl-file) resolves. A repo-wide sweep finds no remaining debugging-pyxl reference.

The site side lands separately: nav and search keywords merged, the stale generated page removed, and the old URL returns a real 404 with the "Back to docs" page rather than stale duplicate content.

…nsion

There were two overlapping pages — "Debugging" and "Debugging .pyxl
files" — so a reader had to find both to get the whole picture, and
neither told them the thing they need first: install the extension.

They are now one guide. It opens with installing Pyxle Language Tools
(the Marketplace link, the `code --install-extension` command, and the
Extensions-view route), states the two requirements that actually bite —
pyxle-framework 0.8.0 or newer in the selected interpreter, and the
Python extension for Python-side breakpoints — and only then gets to F5.
The reference material that was previously split across both pages (how
the mapping works, the `--inspect` flags, attaching any DAP client, the
discovery file, caveats, troubleshooting, the symptom table) follows in
one place.

Adds a troubleshooting entry for the "No module named pyxle.__main__"
case, which means the interpreter has a pre-0.8.0 framework, and notes
that the browser-served source map carries only the JSX lines.

Every inbound link across the docs, the CLI reference and the changelog
now points at the single page.
@shivamsn97
shivamsn97 merged commit fe7b149 into main Jul 26, 2026
10 checks passed
@shivamsn97
shivamsn97 deleted the docs/merge-debugging-guides branch July 26, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant