Here is a widget for Sugarcube that will display the current passage's code-behind:
<<widget no-wiki>> <<print '<nowiki>' + Story.get(passage()).text + '</nowiki>'>> <</widget>>