debugging: Method to recreate server-side code