Ren'Py Launch and Sync
Launch and sync your Ren'Py game at the current line directly from inside Visual
Studio Code.
Features
- Start, stop and restart your Ren'Py game in Run and Debug
- Step forward and back through game dialogue, warp to a specific line, or jump
to label.
- Move cursor position in Visual Studio Code as dialogue progresses with the
Follow Cursor mode
- File decorations to remind you where you are in the game
- Manage installs of the Ren'Py SDK
- Discover and bind to games that were started outside of Visual Studio Code
- Automatically enable autoreload when files change (with a setting)
Quickstart
Initial setup
- Open the Run and Debug menu
- Create a launch.json file (if none exists)
- Select Renpy Launch and Sync as the debugger type. This should fill your launch.json with a basic debugger configuration.
- Start debugging
- You should be prompted to select an SDK version to use. If unsure, just
select latest. This will write a file called .renpy-version into your
workspace.
- You will be asked if downloading this SDK version is okay. Choose Download
to proceed. The SDK will be downloaded to Visual Studio Code's data
directory.
- You will be asked how Ren'Py
extensions should be installed.
Most features, like Follow Cursor, warping in place, and stepping, depend
on them. This choice is stored in the
renpyWarp.renpyExtensionsEnabled
setting.
The game should have been started. Setup is complete.
After setup
You start the game through the debugger configuration you created.
See the user manual for further configuration and how to use
the extensions features.
Version support
Ren'Py 8.3+ supports all features.
On Ren'Py 8.2 and earlier, current line features can't understand {w}/{p}
and instead show the full line.
Ren'Py 8.0 and earlier does not support .rpe features at all.
Ren'Py 7.x versions may work, but no support will be provided
Attribution
The icon for this extension is a cropped rendition of the Ren'Py mascot, Eileen,
taken from the Ren'Py website.