问题: 使用idea开发Java项目,写单元测试,debug时,会有红字报错:Command line is too long 解决方法: 在项目的目录下,找到/.idea/workspace.xml文件,打开搜索PropertiesComponent,并在PropertiesComponent内添加一行代码:<property name="dynamic.classpath" value="true" /> <component name=&qu…
Clion 升级 2021.2 版本后 debug 报错: process exited with status -1 (attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries, when the attach failed. The subsystem that denied the attach permi…
背景: 在升级GO版本到1.11后发现Goland的Debug报错,如下:could not launch process: decoding dwarf section info at offset 0x0: too short. 原因: Goland的dlv不是新版本,导致不能debug调试. 解决: 1.更新dlv,执行如下命令: go get -u github.com/derekparker/delve/cmd/dlv 2.修改Goland的配置,Help->Edit Custom P…
<1>本地执行npm run build--正常 <2>查看环境变量--正常 [root@localhost bin]# echo $PATH /usr/local/node/bin:/usr/local/nginx/sbin:/usr/local/node/bin: <3>将shell中的script的npm command换成绝对路径 报错:/usr/bin/env: node: No such file or directory 解决办法: 添加node软链接:l…