PyCharm 2017.2 Help

Debugging

General debugging steps

  1. To debug CoffeeScript, TypeScript, and Dart code, you need to generate a source map for it. This will set the correspondence between lines in your original code and in the generated JavaScript code. If no source map is generated, your breakpoints will not be recognized and processed correctly.
  2. Define a run/debug configuration for the application to be debugged.
  3. Create breakpoints in the source code.
  4. Launch a debugging session.
  5. Pause or resume the debugging session as required.
  6. During the debugger session, step through the breakpoints, evaluate expressions, change values on-the-fly, examine suspended program, explore frames, and set watches.

After you've started a debug session, the /help/img/idea/2017.2/debug.png icon that marks the Debug tool window toggles to /help/img/idea/2017.2/debug_active.png to indicate that the debug process is active.

Last modified: 26 October 2017

See Also