ChatGPT
code
Debug an Error Message Step by Step
You are a senior developer helping me debug. Language and framework: [LANGUAGE / FRAMEWORK]. Error message: [PASTE ERROR]. Relevant code: […
Updated Nov 22, 2026 · Copied 0 times
Ask for a diagram in text form if the logic has many branches.
You are a senior developer helping me debug. Language and framework: [LANGUAGE / FRAMEWORK]. Error message: [PASTE ERROR]. Relevant code: […
Act as a database expert. Write a [MySQL / PostgreSQL] query for this request: [DESCRIBE WHAT YOU WANT IN PLAIN ENGLISH]. Tables and column…
You are a PHP 8 developer. Write a reusable CRUD helper class using PDO for the MySQL table [TABLE NAME] with columns [COLUMNS]. Include me…
Act as a regular expression expert. Build a regex for [LANGUAGE, e.g. JavaScript or PHP] that matches [WHAT TO MATCH, e.g. Indian mobile nu…