然后我去了XDebug.崇高-设置,但我不确定如何配置它(我链接到什么,它需要什么网址,等等…){

// For remote debugging to resolve the file locations

// it is required to configure the path mapping

// with the server path as key and local path as value.

//

// Make sure to use absolute path when defining server path,

// because Xdebug debugger engine does not return symbolic links.

//

// Example:

// "/absolute/path/to/file/on/server" : "/path/to/file/on/computer",

// "/var/www/htdocs/example/" : "C:/git/websites/example/"

"path_mapping": {

},

// Determine which URL to launch in the default web browser

// when starting/stopping a session.

"url": "",

// An IDE key is used to identify with debugger engine

// when Sublime Text will start or stop a debugging session.

//

// This package does not filter sessions by IDE key,

// it will accept any IDE key, also ones that do not match this configured IDE key.

// It is merely used when launching the default web browser with the configured URL.

"ide_key": "sublime.xdebug",

// Which port number Sublime Text should listen

// to connect with debugger engine.

"port": 9000,

// Show super globals in context view.

"super_globals": true,

// Maximum amount of array children

// and object's properties to return.

"max_children": 32,

// Maximum amount of

// variable data to initially retrieve.

"max_data": 1024,

// Maximum amount of nested levels to retrieve

// of array elements and object properties.

"max_depth": 1,

// Break at first line on session start, when debugger engine has connected.

"break_on_start": false,

// Break on exceptions, suspend execution

// when the exception name matches an entry in this list value.

"break_on_exception": [

// E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR

"Fatal error",

// E_RECOVERABLE_ERROR (since PHP 5.2.0)

"Catchable fatal error",

// E_WARNING, E_CORE_WARNING, E_COMPILE_WARNING, E_USER_WARNING

"Warning",

// E_PARSE

"Parse error",

// E_NOTICE, E_USER_NOTICE

"Notice",

// E_STRICT

"Strict standards",

// E_DEPRECATED, E_USER_DEPRECATED (since PHP 5.3.0)

"Deprecated",

// 0

"Xdebug",

// default

"Unknown error"

],

// Always close debug windows and restore layout on session stop.

"close_on_stop": false,

// Do not show possible password values in context output.

"hide_password": false,

// Show in output parsed response instead of raw XML.

"pretty_output": false,

// Always launch browser on session start/stop.

// Note: This will only work if you have the 'url' setting configured.

"launch_browser": false,

// When launching browser on session stop do not execute script.

// By using parameter XDEBUG_SESSION_STOP_NO_EXEC instead of XDEBUG_SESSION_STOP.

"browser_no_execute": false,

// Do not use the debugging window layout.

"disable_layout": false,

// Window layout that is being used when debugging.

"debug_layout" : {

"cols": [0.0, 0.5, 1.0],

"rows": [0.0, 0.7, 1.0],

"cells": [[0, 0, 2, 1], [0, 1, 1, 2], [1, 1, 2, 2]]

},

// Group and index positions for debug views.

"breakpoint_group": 2,

"breakpoint_index": 1,

"context_group": 1,

"context_index": 0,

"stack_group": 2,

"stack_index": 0,

"watch_group": 1,

"watch_index": 1,

// Custom gutter icons for indicating current line or enabled/disabled breakpoints.

//

// Do not use same icon for following values, because Sublime Text is unable

// to use the same icon for different scopes, in case there are duplicate icons

// detected it will fall back to the corresponding icon in the package.

"breakpoint_enabled": "circle",

"breakpoint_disabled": "dot",

"breakpoint_current": "",

"current_line": "bookmark",

// Path to Python installation on your system.

// Which is being used to load missing modules.

//

// It is recommended to configure your Python path for Sublime Text 2

// especially on older UNIX systems, where some modules (xml.parsers.expat)

// might be missing and could improve performance of package.

//

// Example:

// "python_path" : "/usr/lib/python2.7"

"python_path" : "",

// Show detailed log information about communication

// between debugger engine and Sublime Text.

// Log can be found at Packages/User/Xdebug.log

"debug": false

}

sublime用cmd窗口调试python_如何使用xdebug和sublime调试python脚本相关推荐

  1. sublime用cmd窗口调试python_Sublime Text设置程序输出窗口为dos窗口

    一.C编译系统配置文件如下: { "shell":true, "cmd": "cmd /c g++ -fexec-charset=GBK ${file ...

  2. 定时刷新网页脚本python_在特定时间后自动刷新Python脚本

    我有一个脚本,从一个网站获取火车发车时间,并保存时间和日期时间.现在在一个名为resp的变量中. Resp包含下一班火车出发的时间.在 然后它使用Tkinter创建一个新窗口:class Exampl ...

  3. power python_在 Power BI Desktop 中运行 Python 脚本

    在 Power BI Desktop 中运行 Python 脚本Run Python scripts in Power BI Desktop 06/02/2020 本文内容 你可以直接在 Power ...

  4. idle运行python_如何从IDLE交互式shell运行python脚本?

    How do I run a python script from within the IDLE interactive shell? The following throws an error: ...

  5. excel运行python_使用PyXLL在Excel中执行Python脚本

    PyXLL是一款能够使得在Excel中能够执行Python脚本的插件,不过它是使用Excel扩展库(XLL)的方式,这跟平常加载一些常用的宏方式是一样的. 使用pyXLL,首先你必须安装Python, ...

  6. graphviz python_工具推荐|我是如何使用Python脚本分析CPU使用情况的?

    在这篇文章中,我将讨论一个工具,用以分析Python中CPU使用情况.CPU分析是通过分析CPU执行代码的方式来测量代码的性能,以此找到代码中的不妥之处,然后处理它们. 接下来我们将重点关注以下几个方 ...

  7. 怎么在linux的cmd中运行c项目,如何在cmd窗口编译运行c语言程序?

    / 这个很简单,只需要下载一个C/C++编译器,添加一下环境变量,之后就能在cmd窗口中编译运行C语言程序了,下面我简单介绍一下实现过程,主要内容如下: 1.下载C/C++编译器,这里可以下载MinG ...

  8. Go编译exe可执行文件去掉运行时的CMD窗口

    最近重新开始接触Go语言,写了个exe可执行程序,但是每次执行的时候会出现这样的一个console窗口,而且还没有任何内容.这当然就很不优雅了. 我们可以通过在go build的时候,设定编译参数来解 ...

  9. cmd窗口太炫酷了,电脑编码软件太多?手把手教你搭建Java环境,利用dos命令实现运行操作

    Java学习打卡:第十四天 内容导航 Java学习打卡:第十四天 内容管理 什么是cmd 写文背景介绍 搭建java环境 首先先下载JDK,java开发工具包 第二步:将压缩包解压到指定目录 第三步: ...

最新文章

  1. 拒绝了我们的连接请求_职场上,我们该如何巧妙而优雅的拒绝同事忙的请求呢?...
  2. Linux基础-兄弟连Linux
  3. C# MD5加密解密帮助类
  4. centos 卸载ffmpeg_Linux下ffmpeg的完整安装
  5. 产品设计体会(2011)网络推广实战
  6. 03 使用T-SQL语句实现数据的添加、更新、删除测试分析 1214
  7. stm32实验报告心得体会_STM32实验报告
  8. 30 位互联网大佬,当年上了什么大学?
  9. 漫画:如何给女朋友解释什么是策略模式?
  10. C# 3.0新语言特性和改进(一)
  11. linux下多线程的创建与等待详解 【转载】
  12. Bailian1835 POJ1835 宇航员【模拟】
  13. RX8010/RX-8025T测试说明
  14. Unity编程软件介绍
  15. mysql rm-rf_rm-rf误操作的恢复过程
  16. PPT之如何设置一个箭头围绕一个顶点旋转?
  17. 求某年某月某日是星期几?Python
  18. 管理系统页面布局 html,25 个精美的后台管理界面模板和布局
  19. bilibili弹幕爬虫, 2019-1-10
  20. 收入结算与提现常见问题( iOS )

热门文章

  1. Didn't find class cn.jpush.android.service.DownloadProvider on path:
  2. vue项目中assets与static的区别
  3. 远程桌面无法连接服务器,启动Terminal Services 服务报1053错误
  4. ASP调用.Net dll
  5. mongo php update 写法,mongodb update 字符 操作
  6. JAVA开发需求分析套路_JAVA并发工具常用设计套路示例代码
  7. oracle建表代码,Oracle 建表(一对多)代码及相关约束示例
  8. Mysql存储结构B树与B+树与索引
  9. 15 | 二分查找(上):如何用最省内存的方式实现快速查找功能?
  10. 声速的测量的实验原理和应用_创想智控:光学三角测量系统的测量原理与应用...